From 973ac75b1994043360b8e62cd0c83461310ee728 Mon Sep 17 00:00:00 2001 From: oskkw Date: Wed, 3 Jul 2019 17:29:48 +0530 Subject: custom module added --- ..._field_override.node.photograpy.promote.yml.yml | 21 ++ ...se_field_override.node.photograpy.title.yml.yml | 17 + ...entity_form_display.node.photograpy.default.yml | 92 +++++ ...entity_view_display.node.photograpy.default.yml | 93 +++++ ....entity_view_display.node.photograpy.teaser.yml | 32 ++ .../install/core.entity_view_mode.node.teaser.yml | 9 + .../install/field.field.node.photograpy.body.yml | 21 ++ ...d.field.node.photograpy.field_photo_gallery.yml | 37 ++ .../config/install/field.storage.node.body.yml | 18 + .../field.storage.node.field_photo_gallery.yml | 29 ++ .../image.style.acad_fac_thumbnail_400_300_.yml | 17 + .../config/install/image.style.large.yml | 14 + .../config/install/node.type.photograpy.yml | 17 + .../config/install/views.view.photo_gallery.yml | 403 +++++++++++++++++++++ 14 files changed, 820 insertions(+) create mode 100644 modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/core.entity_form_display.node.photograpy.default.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.default.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.teaser.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/core.entity_view_mode.node.teaser.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.body.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.field_photo_gallery.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/field.storage.node.body.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/field.storage.node.field_photo_gallery.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/image.style.acad_fac_thumbnail_400_300_.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/image.style.large.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/views.view.photo_gallery.yml (limited to 'modules/kalpesh/photo_gallery/config') diff --git a/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml.yml b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml.yml new file mode 100644 index 0000000..bfccb16 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml.yml @@ -0,0 +1,21 @@ +langcode: en +status: true +dependencies: + config: + - node.type.photograpy +id: node.photograpy.promote +field_name: promote +entity_type: node +bundle: photograpy +label: 'Promoted to front page' +description: '' +required: false +translatable: true +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: 'On' + off_label: 'Off' +field_type: boolean diff --git a/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml.yml b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml.yml new file mode 100644 index 0000000..ed738e8 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + config: + - node.type.photograpy +id: node.photograpy.title +field_name: title +entity_type: node +bundle: photograpy +label: Title +description: '' +required: true +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/modules/kalpesh/photo_gallery/config/install/core.entity_form_display.node.photograpy.default.yml b/modules/kalpesh/photo_gallery/config/install/core.entity_form_display.node.photograpy.default.yml new file mode 100644 index 0000000..78d187c --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/core.entity_form_display.node.photograpy.default.yml @@ -0,0 +1,92 @@ +langcode: en +status: true +dependencies: + config: + - field.field.node.photograpy.body + - field.field.node.photograpy.field_photo_gallery + - image.style.acad_fac_thumbnail_400_300_ + - node.type.photograpy + module: + - image + - path + - text +id: node.photograpy.default +targetEntityType: node +bundle: photograpy +mode: default +content: + body: + type: text_textarea_with_summary + weight: 7 + settings: + rows: 9 + summary_rows: 3 + placeholder: '' + third_party_settings: { } + region: content + created: + type: datetime_timestamp + weight: 2 + region: content + settings: { } + third_party_settings: { } + field_photo_gallery: + weight: 8 + settings: + preview_image_style: acad_fac_thumbnail_400_300_ + progress_indicator: throbber + third_party_settings: { } + type: image_image + region: content + langcode: + type: language_select + weight: 0 + region: content + settings: + include_locked: true + third_party_settings: { } + path: + type: path + weight: 5 + region: content + settings: { } + third_party_settings: { } + promote: + type: boolean_checkbox + settings: + display_label: true + weight: 3 + region: content + third_party_settings: { } + status: + type: boolean_checkbox + settings: + display_label: true + weight: 6 + region: content + third_party_settings: { } + sticky: + type: boolean_checkbox + settings: + display_label: true + weight: 4 + region: content + third_party_settings: { } + title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 1 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + region: content + third_party_settings: { } +hidden: { } diff --git a/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.default.yml b/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.default.yml new file mode 100644 index 0000000..2abd173 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.default.yml @@ -0,0 +1,93 @@ +langcode: en +status: true +dependencies: + config: + - field.field.node.photograpy.body + - field.field.node.photograpy.field_photo_gallery + - image.style.acad_fac_thumbnail_400_300_ + - image.style.large + - node.type.photograpy + module: + - colorbox + - ds + - text + - user +third_party_settings: + ds: + layout: + id: ds_1col + library: null + disable_css: false + entity_classes: all_classes + settings: + wrappers: + ds_content: div + outer_wrapper: div + attributes: '' + link_attribute: '' + link_custom: '' + classes: + layout_class: { } + ds_content: { } + regions: + ds_content: + - body + - field_photo_gallery +id: node.photograpy.default +targetEntityType: node +bundle: photograpy +mode: default +content: + body: + label: hidden + type: text_default + weight: 0 + settings: { } + third_party_settings: { } + region: ds_content + field_photo_gallery: + weight: 1 + label: above + settings: + colorbox_node_style: acad_fac_thumbnail_400_300_ + colorbox_node_style_first: '' + colorbox_image_style: large + colorbox_gallery: post + colorbox_gallery_custom: '' + colorbox_caption: auto + colorbox_caption_custom: '' + third_party_settings: + ds: + ds_limit: '' + ft: + id: expert + settings: + lb: Photos + prefix: '' + lbw: true + lbw-el: div + lbw-cl: 'col-sm-12 text-center mt-10 mb-10 fw-bold' + lbw-at: '' + ow-el: '' + ow-cl: '' + ow-at: '' + fis-el: '' + fis-cl: '' + fis-at: '' + fi: true + fi-el: div + fi-cl: 'row col-sm-4 center-block mt-5 mb-5' + fi-at: '' + suffix: '' + lb-col: false + ow: false + ow-def-at: false + ow-def-cl: false + fis: false + fis-def-at: false + fi-def-at: false + type: colorbox + region: ds_content +hidden: + langcode: true + links: true diff --git a/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.teaser.yml b/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.teaser.yml new file mode 100644 index 0000000..e767d9a --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.teaser.yml @@ -0,0 +1,32 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.photograpy.body + - field.field.node.photograpy.field_photo_gallery + - node.type.photograpy + module: + - text + - user +id: node.photograpy.teaser +targetEntityType: node +bundle: photograpy +mode: teaser +content: + body: + label: hidden + type: text_summary_or_trimmed + weight: 101 + settings: + trim_length: 600 + third_party_settings: { } + region: content + links: + weight: 100 + region: content + settings: { } + third_party_settings: { } +hidden: + field_photo_gallery: true + langcode: true diff --git a/modules/kalpesh/photo_gallery/config/install/core.entity_view_mode.node.teaser.yml b/modules/kalpesh/photo_gallery/config/install/core.entity_view_mode.node.teaser.yml new file mode 100644 index 0000000..dcde72c --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/core.entity_view_mode.node.teaser.yml @@ -0,0 +1,9 @@ +langcode: en +status: true +dependencies: + module: + - node +id: node.teaser +label: Teaser +targetEntityType: node +cache: true diff --git a/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.body.yml b/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.body.yml new file mode 100644 index 0000000..14ccf05 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.body.yml @@ -0,0 +1,21 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - node.type.photograpy + module: + - text +id: node.photograpy.body +field_name: body +entity_type: node +bundle: photograpy +label: Body +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + display_summary: true +field_type: text_with_summary diff --git a/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.field_photo_gallery.yml b/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.field_photo_gallery.yml new file mode 100644 index 0000000..895cda0 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.field_photo_gallery.yml @@ -0,0 +1,37 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_photo_gallery + - node.type.photograpy + module: + - image +id: node.photograpy.field_photo_gallery +field_name: field_photo_gallery +entity_type: node +bundle: photograpy +label: images +description: 'photos of department ,activities' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + file_directory: 'Photo Gallery' + file_extensions: 'png gif jpg jpeg' + max_filesize: '' + max_resolution: '' + min_resolution: '' + alt_field: false + alt_field_required: false + title_field: false + title_field_required: false + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null + handler: 'default:file' + handler_settings: { } +field_type: image diff --git a/modules/kalpesh/photo_gallery/config/install/field.storage.node.body.yml b/modules/kalpesh/photo_gallery/config/install/field.storage.node.body.yml new file mode 100644 index 0000000..73edd16 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/field.storage.node.body.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + module: + - node + - text +id: node.body +field_name: body +entity_type: node +type: text_with_summary +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: true +custom_storage: false diff --git a/modules/kalpesh/photo_gallery/config/install/field.storage.node.field_photo_gallery.yml b/modules/kalpesh/photo_gallery/config/install/field.storage.node.field_photo_gallery.yml new file mode 100644 index 0000000..c33090e --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/field.storage.node.field_photo_gallery.yml @@ -0,0 +1,29 @@ +langcode: en +status: true +dependencies: + module: + - file + - image + - node +id: node.field_photo_gallery +field_name: field_photo_gallery +entity_type: node +type: image +settings: + uri_scheme: public + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null + target_type: file + display_field: false + display_default: false +module: image +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/kalpesh/photo_gallery/config/install/image.style.acad_fac_thumbnail_400_300_.yml b/modules/kalpesh/photo_gallery/config/install/image.style.acad_fac_thumbnail_400_300_.yml new file mode 100644 index 0000000..f59da7a --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/image.style.acad_fac_thumbnail_400_300_.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + enforced: + module: + - acadmix_faculty +name: acad_fac_thumbnail_400_300_ +label: 'Acad Fac Thumbnail (400×300)' +effects: + 4b4423ca-bdf9-403c-80bc-171eb78024ac: + uuid: 4b4423ca-bdf9-403c-80bc-171eb78024ac + id: image_scale_and_crop + weight: 1 + data: + width: 400 + height: 300 + anchor: center-center diff --git a/modules/kalpesh/photo_gallery/config/install/image.style.large.yml b/modules/kalpesh/photo_gallery/config/install/image.style.large.yml new file mode 100644 index 0000000..c793584 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/image.style.large.yml @@ -0,0 +1,14 @@ +langcode: en +status: true +dependencies: { } +name: large +label: 'Large (480×480)' +effects: + ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d: + uuid: ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d + id: image_scale + weight: 0 + data: + width: 480 + height: 480 + upscale: false diff --git a/modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml b/modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml new file mode 100644 index 0000000..e64d6ad --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + module: + - menu_ui +third_party_settings: + menu_ui: + available_menus: + - main + parent: 'main:' +name: 'Photo Gallery' +type: photograpy +description: 'Images of department and department activities' +help: '' +new_revision: true +preview_mode: 1 +display_submitted: true diff --git a/modules/kalpesh/photo_gallery/config/install/views.view.photo_gallery.yml b/modules/kalpesh/photo_gallery/config/install/views.view.photo_gallery.yml new file mode 100644 index 0000000..34d07cf --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/views.view.photo_gallery.yml @@ -0,0 +1,403 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_photo_gallery + - image.style.acad_fac_thumbnail_400_300_ + - node.type.photograpy + - responsive_image.styles.acad_fac_narrow + - system.menu.main + module: + - image + - node + - responsive_image + - user + - views_bootstrap +id: photo_gallery +label: 'Photo Gallery' +module: views +description: '' +tag: '' +base_table: node_field_data +base_field: nid +core: 8.x +display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + query: + type: views_query + options: + disable_sql_rewrite: false + distinct: false + replica: false + query_comment: '' + query_tags: { } + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: full + options: + items_per_page: 10 + offset: 0 + id: 0 + total_pages: null + tags: + previous: ‹‹ + next: ›› + first: '« First' + last: 'Last »' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + quantity: 9 + style: + type: views_bootstrap_grid + options: + grouping: { } + row_class: '' + default_row_class: false + alignment: horizontal + columns: '3' + col_xs: col-xs-12 + col_sm: col-sm-6 + col_md: col-md-4 + col_lg: col-lg-4 + row: + type: fields + options: + default_field_elements: true + inline: + field_photo_gallery: field_photo_gallery + separator: '' + hide_empty: false + fields: + field_photo_gallery: + id: field_photo_gallery + table: node__field_photo_gallery + field: field_photo_gallery + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: responsive_image + settings: + responsive_image_style: acad_fac_narrow + image_link: content + group_column: '' + group_columns: { } + group_rows: true + delta_limit: 1 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + plugin_id: field + filters: + status: + value: '1' + table: node_field_data + field: status + plugin_id: boolean + entity_type: node + entity_field: status + id: status + expose: + operator: '' + group: 1 + type: + id: type + table: node_field_data + field: type + value: + photograpy: photograpy + entity_type: node + entity_field: type + plugin_id: bundle + sorts: + created: + id: created + table: node_field_data + field: created + order: DESC + entity_type: node + entity_field: created + plugin_id: date + relationship: none + group_type: group + admin_label: '' + exposed: false + expose: + label: '' + granularity: second + title: 'Photo Gallery' + header: { } + footer: { } + empty: { } + relationships: { } + arguments: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_photo_gallery' + block_1: + display_plugin: block + id: block_1 + display_title: Block + position: 2 + display_options: + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_photo_gallery' + page_1: + display_plugin: page + id: page_1 + display_title: Page + position: 1 + display_options: + display_extenders: { } + path: photo-gallery + menu: + type: normal + title: 'Photo Gallery' + menu_name: main + weight: -44 + fields: + field_photo_gallery: + id: field_photo_gallery + table: node__field_photo_gallery + field: field_photo_gallery + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: true + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: div + element_class: image + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: image + settings: + image_style: acad_fac_thumbnail_400_300_ + image_link: content + group_column: '' + group_columns: { } + group_rows: true + delta_limit: 1 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + plugin_id: field + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: div + element_class: text + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: div + element_wrapper_class: overlay + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: node + entity_field: title + plugin_id: field + defaults: + fields: false + style: false + row: false + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + row: + type: fields + options: + default_field_elements: true + inline: + field_photo_gallery: field_photo_gallery + separator: '' + hide_empty: false + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_photo_gallery' -- cgit