From 7afef300131406e51f81037916b7dca6536207eb Mon Sep 17 00:00:00 2001 From: Chris Green Date: Thu, 23 May 2024 11:41:32 -0700 Subject: [PATCH 1/3] Adding field settings and patches --- composer.json | 5 + .../install/views.view.az_exposed_news.yml | 1377 +++++++++++++++++ ...view_reference.field_az_view_reference.yml | 87 +- 3 files changed, 1428 insertions(+), 41 deletions(-) create mode 100644 modules/custom/az_news/config/install/views.view.az_exposed_news.yml diff --git a/composer.json b/composer.json index 96ddcd603f..ee3e1423ea 100644 --- a/composer.json +++ b/composer.json @@ -114,6 +114,7 @@ "drupal/views_bootstrap": "5.4.0", "drupal/views_remote_data": "1.0.2", "drupal/viewsreference": "2.0.0-beta7", + "drupal/viewsreference_filter": "1.0.4", "drupal/webform": "6.2.2", "drupal/workbench_access": "2.0.1", "drupal/xmlsitemap": "1.5.0", @@ -211,6 +212,10 @@ "Configuration schema for Enable extra settings incorrect (3402036)": "https://www.drupal.org/files/issues/2023-11-17/configuration-schema-for-views-reference-field-settings-3402036-4.patch", "View without empty handling could break caching (3017716)": "https://www.drupal.org/files/issues/2024-02-09/3017716-22.patch" }, + "drupal/viewsreference_filter": { + "Setup support for Better Exposed Filters via exposedFormAlter() method (3192458)": "https://www.drupal.org/files/issues/2021-01-12/3192458-2.patch", + "Exposed filter not working with select filters, show filters option on and default value all (3406728)": "https://www.drupal.org/files/issues/2024-05-15/3406728-7.patch" + }, "drupal/workbench_access": { "Allow multiple access schemas (2982550)": "https://www.drupal.org/files/issues/2023-08-16/2982550-39.patch", "Content is assigned to wrong menu level if user does not have access to the current level (3187152)": "https://www.drupal.org/files/issues/2023-09-26/3187152-workbench_access-menu-default-20.patch" diff --git a/modules/custom/az_news/config/install/views.view.az_exposed_news.yml b/modules/custom/az_news/config/install/views.view.az_exposed_news.yml new file mode 100644 index 0000000000..db01e77417 --- /dev/null +++ b/modules/custom/az_news/config/install/views.view.az_exposed_news.yml @@ -0,0 +1,1377 @@ +uuid: 54fe15dc-c31b-41b9-acec-46732c7b90f5 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.az_card + - core.entity_view_mode.node.az_feature + - core.entity_view_mode.node.az_marquee + - core.entity_view_mode.node.az_media_list + - core.entity_view_mode.node.az_medium_media_list + - core.entity_view_mode.node.az_minimal_media_list + - node.type.az_news + - taxonomy.vocabulary.az_enterprise_attributes + - taxonomy.vocabulary.az_news_tags + module: + - az_finder + - better_exposed_filters + - datetime + - node + - taxonomy + - user + - views_bootstrap +_core: + default_config_hash: gVHDx_AS9aFKOCP99iH1aKt2JOs2vzc2OpcAAPFGy-o +id: az_exposed_news +label: 'AZ News Exposed Filters' +module: views +description: 'Use this view to manage News content' +tag: '' +base_table: node_field_data +base_field: nid +display: + default: + id: default + display_title: Master + display_plugin: default + position: 0 + display_options: + title: News + fields: + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + make_link: false + absolute: false + word_boundary: false + ellipsis: false + strip_tags: false + trim: false + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + 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 + pager: + type: full + options: + offset: 0 + items_per_page: 10 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Previous' + 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 + 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 + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + empty: { } + sorts: + field_az_published_value: + id: field_az_published_value + table: node__field_az_published + field: field_az_published_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + order: DESC + expose: + label: '' + field_identifier: field_az_published_value + exposed: false + granularity: second + created: + id: created + table: node_field_data + field: created + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: created + plugin_id: date + order: DESC + expose: + label: '' + field_identifier: created + exposed: false + granularity: second + arguments: { } + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + type: + id: type + table: node_field_data + field: type + entity_type: node + entity_field: type + plugin_id: bundle + value: + az_news: az_news + expose: + operator_limit_selection: false + operator_list: { } + tid: + id: tid + table: taxonomy_index + field: tid + relationship: none + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + operator: or + value: { } + group: 1 + exposed: true + expose: + operator_id: tid_op + label: 'Has taxonomy term' + description: '' + use_operator: true + operator: tid_op + operator_limit_selection: false + operator_list: { } + identifier: tid + required: false + remember: false + multiple: true + remember_roles: + authenticated: authenticated + anonymous: '0' + az_content_editor: '0' + az_content_admin: '0' + az_user_admin: '0' + az_html_admin: '0' + administrator: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + vid: az_news_tags + type: textfield + hierarchy: false + limit: true + error_message: true + style: + type: default + options: + row_class: media-list-row + default_row_class: false + uses_fields: false + row: + type: 'entity:node' + options: + relationship: none + view_mode: az_media_list + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + az_feature: + id: az_feature + display_title: 'Feature View' + display_plugin: block + position: 1 + display_options: + pager: + type: some + options: + offset: 0 + items_per_page: 1 + sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: sticky + exposed: false + field_az_published_value: + id: field_az_published_value + table: node__field_az_published + field: field_az_published_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + order: DESC + expose: + label: '' + field_identifier: field_az_published_value + exposed: false + granularity: second + style: + type: default + options: + row_class: media-list-row + default_row_class: false + uses_fields: false + row: + type: 'entity:node' + options: + relationship: none + view_mode: az_feature + defaults: + pager: false + style: false + style_options: false + row: false + sorts: false + pager_options: false + display_description: '' + pager_options: null + style_options: null + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - 'user.node_grants:view' + - user.permissions + tags: { } + az_grid: + id: az_grid + display_title: 'Grid View' + display_plugin: block + position: 3 + display_options: + pager: + type: some + options: + offset: 0 + items_per_page: 3 + exposed_form: + type: az_better_exposed_filters + options: + submit_button: Apply + reset_button: true + reset_button_label: 'Reset filters' + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + text_input_required: 'Select any filter and click on Apply to see results' + text_input_required_format: az_standard + bef: + general: + autosubmit: true + autosubmit_exclude_textfield: false + autosubmit_textfield_delay: 500 + autosubmit_hide: true + input_required: false + allow_secondary: false + secondary_label: 'Advanced options' + secondary_open: false + reset_button_always_show: false + filter: + title: + plugin_id: default + advanced: + placeholder_text: '' + collapsible: false + is_secondary: false + tid: + plugin_id: az_finder_tid_widget + advanced: + sort_options: false + rewrite: + filter_rewrite_values: '' + collapsible: false + is_secondary: false + tid_1: + plugin_id: az_finder_tid_widget + advanced: + sort_options: false + rewrite: + filter_rewrite_values: '' + collapsible: false + is_secondary: false + reset_button_position: top + reset_button_counter: true + orientation: vertical + skip_link: true + skip_link_text: 'Skip to search and filter' + skip_link_id: search-filter + empty: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: true + content: + value: 'No results found for the applied filters.' + format: az_standard + tokenize: false + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + type: + id: type + table: node_field_data + field: type + entity_type: node + entity_field: type + plugin_id: bundle + value: + az_news: az_news + group: 1 + expose: + operator_limit_selection: false + operator_list: { } + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: title_op + label: 'Search by Title' + description: '' + use_operator: false + operator: title_op + operator_limit_selection: false + operator_list: { } + identifier: title + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + az_content_editor: '0' + az_content_admin: '0' + az_user_admin: '0' + az_html_admin: '0' + administrator: '0' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + tid: + id: tid + table: taxonomy_index + field: tid + relationship: none + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + operator: and + value: { } + group: 1 + exposed: true + expose: + operator_id: tid_op + label: '' + description: '' + use_operator: true + operator: tid_op + operator_limit_selection: false + operator_list: { } + identifier: tags + required: false + remember: false + multiple: true + remember_roles: + authenticated: authenticated + anonymous: '0' + az_content_editor: '0' + az_content_admin: '0' + az_user_admin: '0' + az_html_admin: '0' + administrator: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: true + vid: az_news_tags + type: select + hierarchy: true + limit: true + error_message: true + filter_groups: + operator: AND + groups: + 1: AND + style: + type: views_bootstrap_grid + options: + row_class: '' + default_row_class: false + uses_fields: false + col_xs: col-12 + col_sm: col-sm-12 + col_md: col-md-4 + col_lg: col-lg-4 + col_xl: col-xl-4 + row: + type: 'entity:node' + options: + relationship: none + view_mode: az_card + defaults: + empty: false + use_ajax: false + pager: false + exposed_form: false + style: false + row: false + filters: false + filter_groups: false + footer: false + use_ajax: true + display_description: '' + footer: + area_text_custom: + id: area_text_custom + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: '' + plugin_id: text_custom + empty: false + content: "
\r\nRead all news\r\n
\r\n" + tokenize: false + exposed_block: true + display_extenders: { } + block_description: 'Three column news block' + block_category: 'Lists (Views)' + allow: + items_per_page: false + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - 'user.node_grants:view' + - user.permissions + tags: { } + az_grid_filter: + id: az_grid_filter + display_title: 'Grid View with Filter' + display_plugin: block + position: 3 + display_options: + pager: + type: full + options: + offset: 0 + items_per_page: 9 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Previous' + 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 + exposed_form: + type: bef + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: false + sort_asc_label: Asc + sort_desc_label: Desc + text_input_required: 'Select any filter and click on Apply to see results' + text_input_required_format: az_standard + bef: + general: + autosubmit: true + autosubmit_exclude_textfield: false + autosubmit_textfield_delay: 500 + autosubmit_hide: true + input_required: false + allow_secondary: false + secondary_label: 'Advanced options' + secondary_open: false + reset_button_always_show: false + filter: + tid: + plugin_id: default + advanced: + sort_options: false + rewrite: + filter_rewrite_values: '' + collapsible: false + is_secondary: false + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + type: + id: type + table: node_field_data + field: type + entity_type: node + entity_field: type + plugin_id: bundle + value: + az_news: az_news + expose: + operator_limit_selection: false + operator_list: { } + tid: + id: tid + table: taxonomy_index + field: tid + relationship: none + group_type: group + admin_label: Category + plugin_id: taxonomy_index_tid + operator: or + value: { } + group: 1 + exposed: true + expose: + operator_id: tid_op + label: 'Filter by category' + description: '' + use_operator: false + operator: tid_op + operator_limit_selection: false + operator_list: { } + identifier: category + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + az_content_editor: '0' + az_content_admin: '0' + az_user_admin: '0' + administrator: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: true + vid: az_news_tags + type: select + hierarchy: false + limit: true + error_message: true + filter_groups: + operator: AND + groups: + 1: AND + style: + type: views_bootstrap_grid + options: + row_class: '' + default_row_class: false + uses_fields: false + col_xs: col-12 + col_sm: col-sm-12 + col_md: col-md-4 + col_lg: col-lg-4 + col_xl: col-xl-4 + row: + type: 'entity:node' + options: + relationship: none + view_mode: az_card + defaults: + use_ajax: false + pager: false + exposed_form: false + style: false + style_options: false + row: false + filters: false + filter_groups: false + pager_options: false + footer: false + use_ajax: true + display_description: '' + pager_options: null + style_options: null + footer: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: true + content: + value: "" + format: full_html + tokenize: false + display_extenders: { } + block_description: 'Three column news block' + block_category: 'Lists (Views)' + allow: + items_per_page: false + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + az_paged_row: + id: az_paged_row + display_title: 'Paged Row View' + display_plugin: page + position: 2 + display_options: + exposed_form: + type: az_better_exposed_filters + options: + submit_button: Apply + reset_button: true + reset_button_label: 'Reset filters' + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + text_input_required: 'Select any filter and click on Apply to see results' + text_input_required_format: az_standard + bef: + general: + autosubmit: true + autosubmit_exclude_textfield: false + autosubmit_textfield_delay: 500 + autosubmit_hide: true + input_required: false + allow_secondary: false + secondary_label: 'Advanced options' + secondary_open: false + reset_button_always_show: false + filter: + title: + plugin_id: default + advanced: + placeholder_text: '' + collapsible: false + is_secondary: false + tid: + plugin_id: az_finder_tid_widget + advanced: + sort_options: false + rewrite: + filter_rewrite_values: '' + collapsible: false + is_secondary: false + tid_1: + plugin_id: az_finder_tid_widget + advanced: + sort_options: false + rewrite: + filter_rewrite_values: '' + collapsible: false + is_secondary: false + reset_button_position: top + reset_button_counter: true + orientation: vertical + skip_link: true + skip_link_text: 'Skip to search and filter' + skip_link_id: search-filter + empty: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: true + content: + value: 'No results found for the applied filters.' + format: az_standard + tokenize: false + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + type: + id: type + table: node_field_data + field: type + entity_type: node + entity_field: type + plugin_id: bundle + value: + az_news: az_news + expose: + operator_limit_selection: false + operator_list: { } + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: title_op + label: 'Search by Title' + description: '' + use_operator: false + operator: title_op + operator_limit_selection: false + operator_list: { } + identifier: title + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + az_content_editor: '0' + az_content_admin: '0' + az_user_admin: '0' + az_html_admin: '0' + administrator: '0' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + tid_1: + id: tid_1 + table: taxonomy_index + field: tid + relationship: none + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + operator: and + value: { } + group: 1 + exposed: true + expose: + operator_id: tid_1_op + label: '' + description: '' + use_operator: true + operator: tid_1_op + operator_limit_selection: false + operator_list: { } + identifier: enterprise_attributes + required: false + remember: false + multiple: true + remember_roles: + authenticated: authenticated + anonymous: '0' + az_content_editor: '0' + az_content_admin: '0' + az_user_admin: '0' + az_html_admin: '0' + administrator: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: true + vid: az_enterprise_attributes + type: select + hierarchy: true + limit: true + error_message: true + filter_groups: + operator: AND + groups: + 1: AND + style: + type: default + options: + row_class: media-list-row + default_row_class: false + uses_fields: false + row: + type: 'entity:node' + options: + relationship: none + view_mode: az_media_list + defaults: + empty: false + css_class: false + use_ajax: false + exposed_form: false + style: false + style_options: false + row: false + filters: false + filter_groups: false + css_class: add-pager-top-margin + use_ajax: true + display_description: '' + style_options: null + exposed_block: true + display_extenders: { } + path: news + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + az_sidebar: + id: az_sidebar + display_title: 'Small Row View' + display_plugin: block + position: 4 + display_options: + title: News + pager: + type: some + options: + offset: 0 + items_per_page: 3 + arguments: { } + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + type: + id: type + table: node_field_data + field: type + entity_type: node + entity_field: type + plugin_id: bundle + value: + az_news: az_news + expose: + operator_limit_selection: false + operator_list: { } + nid: + id: nid + table: node_field_data + field: nid + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: nid + plugin_id: numeric + operator: '=' + value: + min: '' + max: '' + value: '' + group: 1 + exposed: true + expose: + operator_id: nid_op + label: ID + description: '' + use_operator: true + operator: nid_op + operator_limit_selection: false + operator_list: { } + identifier: nid + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + az_content_editor: '0' + az_content_admin: '0' + az_user_admin: '0' + az_html_admin: '0' + administrator: '0' + min_placeholder: '' + max_placeholder: '' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + tid: + id: tid + table: taxonomy_index + field: tid + relationship: none + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + operator: or + value: { } + group: 1 + exposed: true + expose: + operator_id: tid_op + label: 'Has taxonomy term' + description: '' + use_operator: true + operator: tid_op + operator_limit_selection: false + operator_list: { } + identifier: tid + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + az_content_editor: '0' + az_content_admin: '0' + az_user_admin: '0' + az_html_admin: '0' + administrator: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + vid: az_news_tags + type: textfield + hierarchy: false + limit: true + error_message: true + filter_groups: + operator: AND + groups: + 1: AND + style: + type: default + options: + row_class: media-list-row + default_row_class: false + uses_fields: false + row: + type: 'entity:node' + options: + relationship: none + view_mode: az_minimal_media_list + defaults: + title: false + pager: false + style: false + row: false + arguments: false + filters: false + filter_groups: false + display_description: '' + display_extenders: { } + block_description: 'Sidebar News Block' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - 'user.node_grants:view' + - user.permissions + tags: { } + az_teaser_grid: + id: az_teaser_grid + display_title: 'Teaser Grid Page' + display_plugin: page + position: 5 + display_options: + pager: + type: full + options: + offset: 4 + items_per_page: 12 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Previous' + 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: + row_class: '' + default_row_class: false + uses_fields: false + col_xs: col-12 + col_sm: col-sm-12 + col_md: col-md-4 + col_lg: col-lg-4 + col_xl: col-xl-4 + row: + type: 'entity:node' + options: + relationship: none + view_mode: az_card + defaults: + pager: false + style: false + style_options: false + row: false + pager_options: false + display_description: 'Grid of teasers that appears on /news-teasers (offset by 4)' + pager_options: null + style_options: null + display_extenders: { } + path: news-teasers + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + marquee: + id: marquee + display_title: 'Recent News Marquee' + display_plugin: block + position: 6 + display_options: + title: '' + pager: + type: some + options: + offset: 0 + items_per_page: 1 + style: + type: default + options: + row_class: '' + default_row_class: false + uses_fields: false + row: + type: 'entity:node' + options: + relationship: none + view_mode: az_marquee + defaults: + title: false + css_class: false + pager: false + style: false + style_options: false + row: false + pager_options: false + css_class: row + display_description: '' + pager_options: null + style_options: null + display_extenders: { } + block_description: 'Recent News Marquee' + allow: + items_per_page: false + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - 'user.node_grants:view' + - user.permissions + tags: { } + row_attachment: + id: row_attachment + display_title: 'Row Attachment' + display_plugin: attachment + position: 7 + display_options: + title: '' + pager: + type: some + options: + offset: 1 + items_per_page: 3 + style: + type: default + options: + row_class: '' + default_row_class: false + uses_fields: false + row: + type: 'entity:node' + options: + relationship: none + view_mode: az_medium_media_list + defaults: + title: false + css_class: false + pager: false + style: false + style_options: false + row: false + pager_options: false + css_class: '' + display_description: '' + pager_options: null + style_options: null + display_extenders: { } + displays: + marquee: marquee + attachment_position: after + inherit_arguments: true + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - 'user.node_grants:view' + - user.permissions + tags: { } + diff --git a/modules/custom/az_paragraphs/az_paragraphs_view/config/install/field.field.paragraph.az_view_reference.field_az_view_reference.yml b/modules/custom/az_paragraphs/az_paragraphs_view/config/install/field.field.paragraph.az_view_reference.field_az_view_reference.yml index 4b0d1e6655..4884442150 100644 --- a/modules/custom/az_paragraphs/az_paragraphs_view/config/install/field.field.paragraph.az_view_reference.field_az_view_reference.yml +++ b/modules/custom/az_paragraphs/az_paragraphs_view/config/install/field.field.paragraph.az_view_reference.field_az_view_reference.yml @@ -1,41 +1,46 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.paragraph.field_az_view_reference - - paragraphs.paragraphs_type.az_view_reference - module: - - viewsreference -id: paragraph.az_view_reference.field_az_view_reference -field_name: field_az_view_reference -entity_type: paragraph -bundle: az_view_reference -label: View -description: '' -required: true -translatable: true -default_value: { } -default_value_callback: '' -settings: - handler: 'default:view' - handler_settings: - target_bundles: null - auto_create: false - plugin_types: - default: default - block: block - page: page - preselect_views: - az_courses: az_courses - az_events: az_events - az_news: az_news - az_page_by_category: az_page_by_category - az_person: az_person - az_publications: az_publications - enabled_settings: - pager: pager - offset: offset - argument: argument - title: title - limit: limit -field_type: viewsreference + +uuid: aefb616d-0319-4447-b3e4-81e0a9ade8eb +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_az_view_reference + - paragraphs.paragraphs_type.az_view_reference + module: + - viewsreference +_core: + default_config_hash: JMasze9bsX0o4f64PHDak4KqkCOgUDgFGAapYtOs2I0 +id: paragraph.az_view_reference.field_az_view_reference +field_name: field_az_view_reference +entity_type: paragraph +bundle: az_view_reference +label: View +description: '' +required: true +translatable: true +default_value: { } +default_value_callback: '' +settings: + handler: 'default:view' + handler_settings: + target_bundles: null + auto_create: false + plugin_types: + default: default + page: page + block: block + preselect_views: + az_events: az_events + az_exposed_news: az_exposed_news + az_news: az_news + az_page_by_category: az_page_by_category + az_person: az_person + enabled_settings: + title: title + offset: offset + pager: pager + limit: limit + argument: argument + exposed_filters: exposed_filters +field_type: viewsreference + From 4bdc6510ae0aa0a35925c20e415c2a41832e34ad Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Fri, 12 Jul 2024 10:30:09 -0700 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Brian Berndt <74572157+bberndt-uaz@users.noreply.github.com> --- ...ld.paragraph.az_view_reference.field_az_view_reference.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/custom/az_paragraphs/az_paragraphs_view/config/install/field.field.paragraph.az_view_reference.field_az_view_reference.yml b/modules/custom/az_paragraphs/az_paragraphs_view/config/install/field.field.paragraph.az_view_reference.field_az_view_reference.yml index 4884442150..26719ac696 100644 --- a/modules/custom/az_paragraphs/az_paragraphs_view/config/install/field.field.paragraph.az_view_reference.field_az_view_reference.yml +++ b/modules/custom/az_paragraphs/az_paragraphs_view/config/install/field.field.paragraph.az_view_reference.field_az_view_reference.yml @@ -1,5 +1,3 @@ - -uuid: aefb616d-0319-4447-b3e4-81e0a9ade8eb langcode: en status: true dependencies: @@ -8,8 +6,6 @@ dependencies: - paragraphs.paragraphs_type.az_view_reference module: - viewsreference -_core: - default_config_hash: JMasze9bsX0o4f64PHDak4KqkCOgUDgFGAapYtOs2I0 id: paragraph.az_view_reference.field_az_view_reference field_name: field_az_view_reference entity_type: paragraph From 9a20870c55ca851312fbf00350d34ab4c831074f Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Fri, 12 Jul 2024 10:32:00 -0700 Subject: [PATCH 3/3] Apply suggestions from code review --- .../az_news/config/install/views.view.az_exposed_news.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/custom/az_news/config/install/views.view.az_exposed_news.yml b/modules/custom/az_news/config/install/views.view.az_exposed_news.yml index db01e77417..332c5e8387 100644 --- a/modules/custom/az_news/config/install/views.view.az_exposed_news.yml +++ b/modules/custom/az_news/config/install/views.view.az_exposed_news.yml @@ -1,4 +1,3 @@ -uuid: 54fe15dc-c31b-41b9-acec-46732c7b90f5 langcode: en status: true dependencies: @@ -20,8 +19,6 @@ dependencies: - taxonomy - user - views_bootstrap -_core: - default_config_hash: gVHDx_AS9aFKOCP99iH1aKt2JOs2vzc2OpcAAPFGy-o id: az_exposed_news label: 'AZ News Exposed Filters' module: views