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/install') 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 From dbb268e526300f2024a4a96650884af1c5d9435e Mon Sep 17 00:00:00 2001 From: oskkw Date: Fri, 5 Jul 2019 22:45:57 +0530 Subject: updated module --- ...base_field_override.node.photograpy.promote.yml | 24 ++++++++++++++++++++++ ..._field_override.node.photograpy.promote.yml.yml | 21 ------------------- ...e.base_field_override.node.photograpy.title.yml | 20 ++++++++++++++++++ ...se_field_override.node.photograpy.title.yml.yml | 17 --------------- ...entity_form_display.node.photograpy.default.yml | 7 +++++-- ...entity_view_display.node.photograpy.default.yml | 11 ++++++---- ....entity_view_display.node.photograpy.teaser.yml | 3 +++ .../install/core.entity_view_mode.node.teaser.yml | 9 -------- .../install/field.field.node.photograpy.body.yml | 3 +++ ...d.field.node.photograpy.field_photo_gallery.yml | 3 +++ .../config/install/field.storage.node.body.yml | 18 ---------------- .../field.storage.node.field_photo_gallery.yml | 3 +++ .../image.style.acad_fac_thumbnail_400_300_.yml | 17 --------------- .../config/install/image.style.large.yml | 14 ------------- .../image.style.photo_gallery_image_style.yml | 17 +++++++++++++++ ...image.style.photo_gallery_large_image_style.yml | 17 +++++++++++++++ .../config/install/node.type.photograpy.yml | 3 +++ .../responsive_image.styles.photo_gallery.yml | 23 +++++++++++++++++++++ .../config/install/views.view.photo_gallery.yml | 11 +++++----- 19 files changed, 134 insertions(+), 107 deletions(-) create mode 100644 modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml delete 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 delete mode 100644 modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml.yml delete mode 100644 modules/kalpesh/photo_gallery/config/install/core.entity_view_mode.node.teaser.yml delete mode 100644 modules/kalpesh/photo_gallery/config/install/field.storage.node.body.yml delete mode 100644 modules/kalpesh/photo_gallery/config/install/image.style.acad_fac_thumbnail_400_300_.yml delete mode 100644 modules/kalpesh/photo_gallery/config/install/image.style.large.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_image_style.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_large_image_style.yml create mode 100644 modules/kalpesh/photo_gallery/config/install/responsive_image.styles.photo_gallery.yml (limited to 'modules/kalpesh/photo_gallery/config/install') diff --git a/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml new file mode 100644 index 0000000..4f2fdc0 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml @@ -0,0 +1,24 @@ +langcode: en +status: true +dependencies: + config: + - node.type.photograpy + enforced: + module: + - 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.promote.yml.yml b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml.yml deleted file mode 100644 index bfccb16..0000000 --- a/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml.yml +++ /dev/null @@ -1,21 +0,0 @@ -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 b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml new file mode 100644 index 0000000..c3382c1 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + config: + - node.type.photograpy + enforced: + module: + - 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.base_field_override.node.photograpy.title.yml.yml b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml.yml deleted file mode 100644 index ed738e8..0000000 --- a/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml.yml +++ /dev/null @@ -1,17 +0,0 @@ -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 index 78d187c..671d94b 100644 --- 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 @@ -4,12 +4,15 @@ dependencies: config: - field.field.node.photograpy.body - field.field.node.photograpy.field_photo_gallery - - image.style.acad_fac_thumbnail_400_300_ + - image.style.photo_gallery_image_style - node.type.photograpy module: - image - path - text + enforced: + module: + - photograpy id: node.photograpy.default targetEntityType: node bundle: photograpy @@ -33,7 +36,7 @@ content: field_photo_gallery: weight: 8 settings: - preview_image_style: acad_fac_thumbnail_400_300_ + preview_image_style: photo_gallery_image_style progress_indicator: throbber third_party_settings: { } type: image_image 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 index 2abd173..658176a 100644 --- 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 @@ -4,14 +4,17 @@ dependencies: config: - field.field.node.photograpy.body - field.field.node.photograpy.field_photo_gallery - - image.style.acad_fac_thumbnail_400_300_ - - image.style.large + - image.style.photo_gallery_image_style + - image.style.photo_gallery_large_image_style - node.type.photograpy module: - colorbox - ds - text - user + enforced: + module: + - photograpy third_party_settings: ds: layout: @@ -49,9 +52,9 @@ content: weight: 1 label: above settings: - colorbox_node_style: acad_fac_thumbnail_400_300_ + colorbox_node_style: photo_gallery_image_style colorbox_node_style_first: '' - colorbox_image_style: large + colorbox_image_style: photo_gallery_large_image_style colorbox_gallery: post colorbox_gallery_custom: '' colorbox_caption: auto 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 index e767d9a..ba5c3b9 100644 --- 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 @@ -9,6 +9,9 @@ dependencies: module: - text - user + enforced: + module: + - photograpy id: node.photograpy.teaser targetEntityType: node bundle: photograpy 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 deleted file mode 100644 index dcde72c..0000000 --- a/modules/kalpesh/photo_gallery/config/install/core.entity_view_mode.node.teaser.yml +++ /dev/null @@ -1,9 +0,0 @@ -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 index 14ccf05..12a48ec 100644 --- 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 @@ -6,6 +6,9 @@ dependencies: - node.type.photograpy module: - text + enforced: + module: + - photograpy id: node.photograpy.body field_name: body entity_type: node 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 index 895cda0..50857c8 100644 --- 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 @@ -6,6 +6,9 @@ dependencies: - node.type.photograpy module: - image + enforced: + module: + - photograpy id: node.photograpy.field_photo_gallery field_name: field_photo_gallery entity_type: node 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 deleted file mode 100644 index 73edd16..0000000 --- a/modules/kalpesh/photo_gallery/config/install/field.storage.node.body.yml +++ /dev/null @@ -1,18 +0,0 @@ -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 index c33090e..d05ed8a 100644 --- 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 @@ -5,6 +5,9 @@ dependencies: - file - image - node + enforced: + module: + - photograpy id: node.field_photo_gallery field_name: field_photo_gallery entity_type: node 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 deleted file mode 100644 index f59da7a..0000000 --- a/modules/kalpesh/photo_gallery/config/install/image.style.acad_fac_thumbnail_400_300_.yml +++ /dev/null @@ -1,17 +0,0 @@ -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 deleted file mode 100644 index c793584..0000000 --- a/modules/kalpesh/photo_gallery/config/install/image.style.large.yml +++ /dev/null @@ -1,14 +0,0 @@ -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/image.style.photo_gallery_image_style.yml b/modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_image_style.yml new file mode 100644 index 0000000..f73afbd --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_image_style.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + enforced: + module: + - photograpy +name: photo_gallery_image_style +label: 'Photo Gallery image style' +effects: + d2f1e554-148d-47cf-8a90-be37d02a2f41: + uuid: d2f1e554-148d-47cf-8a90-be37d02a2f41 + id: image_scale_and_crop + weight: 1 + data: + width: 400 + height: 300 + anchor: center-center \ No newline at end of file diff --git a/modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_large_image_style.yml b/modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_large_image_style.yml new file mode 100644 index 0000000..1fe5cf3 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_large_image_style.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + enforced: + module: + - photograpy +name: photo_gallery_large_image_style +label: 'Photo Gallery large image style' +effects: + b3967226-7f01-4a10-ae16-b5173b0e7b1d: + uuid: b3967226-7f01-4a10-ae16-b5173b0e7b1d + id: image_scale_and_crop + weight: 1 + data: + width: 480 + height: 480 + anchor: center-center \ No newline at end of file diff --git a/modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml b/modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml index e64d6ad..cb4bc56 100644 --- a/modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml +++ b/modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml @@ -3,6 +3,9 @@ status: true dependencies: module: - menu_ui + enforced: + module: + - photograpy third_party_settings: menu_ui: available_menus: diff --git a/modules/kalpesh/photo_gallery/config/install/responsive_image.styles.photo_gallery.yml b/modules/kalpesh/photo_gallery/config/install/responsive_image.styles.photo_gallery.yml new file mode 100644 index 0000000..ebac108 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/responsive_image.styles.photo_gallery.yml @@ -0,0 +1,23 @@ +langcode: en +status: true +dependencies: + config: + - image.style.photo_gallery_image_style + enforced: + module: + - photograpy +_core: + default_config_hash: Umj5KTYrfwM79WjP6IJpQHZGv0GEmu70WZarLM3BfTs +id: photo_gallery +label: 'Photo Gallery' +image_style_mappings: + - + breakpoint_id: responsive_image.viewport_sizing + multiplier: 1x + image_mapping_type: sizes + image_mapping: + sizes: '(min-width: 1290px) 325px, (min-width: 851px) 25vw, (min-width: 560px) 50vw, 100vw' + sizes_image_styles: + - photo_gallery_image_style +breakpoint_group: responsive_image +fallback_image_style: photo_gallery_image_style 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 index 34d07cf..2c43748 100644 --- a/modules/kalpesh/photo_gallery/config/install/views.view.photo_gallery.yml +++ b/modules/kalpesh/photo_gallery/config/install/views.view.photo_gallery.yml @@ -3,16 +3,17 @@ 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 + - responsive_image.styles.photo_gallery - system.menu.main module: - - image - node - responsive_image - user - views_bootstrap + enforced: + module: + - photograpy id: photo_gallery label: 'Photo Gallery' module: views @@ -293,9 +294,9 @@ display: empty_zero: false hide_alter_empty: true click_sort_column: target_id - type: image + type: responsive_image settings: - image_style: acad_fac_thumbnail_400_300_ + responsive_image_style: photo_gallery image_link: content group_column: '' group_columns: { } -- cgit