diff options
Diffstat (limited to 'modules/kalpesh/photo_gallery/config/install')
13 files changed, 847 insertions, 0 deletions
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.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.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..671d94b --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/core.entity_form_display.node.photograpy.default.yml @@ -0,0 +1,95 @@ +langcode: en +status: true +dependencies: + config: + - field.field.node.photograpy.body + - field.field.node.photograpy.field_photo_gallery + - image.style.photo_gallery_image_style + - node.type.photograpy + module: + - image + - path + - text + enforced: + module: + - photograpy +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: photo_gallery_image_style + 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..658176a --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.default.yml @@ -0,0 +1,96 @@ +langcode: en +status: true +dependencies: + config: + - field.field.node.photograpy.body + - field.field.node.photograpy.field_photo_gallery + - 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: + 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: photo_gallery_image_style + colorbox_node_style_first: '' + colorbox_image_style: photo_gallery_large_image_style + 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..ba5c3b9 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.teaser.yml @@ -0,0 +1,35 @@ +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 + enforced: + module: + - photograpy +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/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..12a48ec --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.body.yml @@ -0,0 +1,24 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - node.type.photograpy + module: + - text + enforced: + module: + - photograpy +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..50857c8 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.field_photo_gallery.yml @@ -0,0 +1,40 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_photo_gallery + - node.type.photograpy + module: + - image + enforced: + module: + - photograpy +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.field_photo_gallery.yml b/modules/kalpesh/photo_gallery/config/install/field.storage.node.field_photo_gallery.yml new file mode 100644 index 0000000..d05ed8a --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/field.storage.node.field_photo_gallery.yml @@ -0,0 +1,32 @@ +langcode: en +status: true +dependencies: + module: + - file + - image + - node + enforced: + module: + - photograpy +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.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 new file mode 100644 index 0000000..cb4bc56 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + module: + - menu_ui + enforced: + module: + - photograpy +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/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 new file mode 100644 index 0000000..2c43748 --- /dev/null +++ b/modules/kalpesh/photo_gallery/config/install/views.view.photo_gallery.yml @@ -0,0 +1,404 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_photo_gallery + - node.type.photograpy + - responsive_image.styles.photo_gallery + - system.menu.main + module: + - node + - responsive_image + - user + - views_bootstrap + enforced: + module: + - photograpy +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: responsive_image + settings: + responsive_image_style: photo_gallery + 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' |