From b6a3bad19ac9d74e0e6779b130965c8411fc801d Mon Sep 17 00:00:00 2001 From: Rebecca Hong Date: Wed, 25 Sep 2024 18:03:36 +0000 Subject: [PATCH] D8CORE-7434 | fixup default display --- ...play.node.stanford_opportunity.default.yml | 4 + ...display.node.stanford_opportunity.full.yml | 188 ++++++++++++++++++ ...splay.node.stanford_opportunity.teaser.yml | 22 +- 3 files changed, 210 insertions(+), 4 deletions(-) create mode 100644 config/sync/core.entity_view_display.node.stanford_opportunity.full.yml diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml index 1b0b0f0e7..1e5f75b0c 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml @@ -502,6 +502,8 @@ third_party_settings: - 'Content fields' - 'Custom block types' - 'Custom blocks' + - Devel + - 'Devel PHP' - Editoria11y - 'Events Lists (Views)' - Forms @@ -572,6 +574,8 @@ third_party_settings: - Book - 'Chaos Tools' - 'Config Pages' + - Devel + - 'Devel PHP' - Editoria11y - Forms - Help diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.full.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.full.yml new file mode 100644 index 000000000..0aa01f692 --- /dev/null +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.full.yml @@ -0,0 +1,188 @@ +uuid: 009fc1c0-70e0-47a4-b0ce-d5aae84d1a8c +langcode: en +status: false +dependencies: + config: + - core.entity_view_mode.node.full + - field.field.node.stanford_opportunity.body + - field.field.node.stanford_opportunity.layout_builder__layout + - field.field.node.stanford_opportunity.su_opp_application_deadline + - field.field.node.stanford_opportunity.su_opp_components + - field.field.node.stanford_opportunity.su_opp_contact_email + - field.field.node.stanford_opportunity.su_opp_contact_name + - field.field.node.stanford_opportunity.su_opp_contact_phone + - field.field.node.stanford_opportunity.su_opp_contact_url + - field.field.node.stanford_opportunity.su_opp_course_code + - field.field.node.stanford_opportunity.su_opp_cta_url + - field.field.node.stanford_opportunity.su_opp_eligibility + - field.field.node.stanford_opportunity.su_opp_image + - field.field.node.stanford_opportunity.su_opp_learn_more + - field.field.node.stanford_opportunity.su_opp_open_date + - field.field.node.stanford_opportunity.su_opp_prerequisites + - field.field.node.stanford_opportunity.su_opp_source + - field.field.node.stanford_opportunity.su_opp_sponsor + - field.field.node.stanford_opportunity.su_opp_start_date + - field.field.node.stanford_opportunity.su_opp_status + - field.field.node.stanford_opportunity.su_opp_summary + - field.field.node.stanford_opportunity.su_opp_tags + - field.field.node.stanford_opportunity.su_opp_type + - node.type.stanford_opportunity + module: + - field_group + - layout_builder + - layout_builder_restrictions + - layout_library + - user +third_party_settings: + layout_builder: + enabled: false + allow_custom: false + layout_library: + enable: false + layout_builder_restrictions: + allowed_block_categories: + - 'Basic Page Type Lists (Views)' + - Book + - 'Changelog (Views)' + - 'Chaos Tools' + - 'Config Pages' + - 'Content fields' + - 'Custom block types' + - 'Custom blocks' + - Devel + - 'Devel PHP' + - Editoria11y + - 'Events Lists (Views)' + - Forms + - Help + - 'Inline blocks' + - 'Jumpstart UI' + - 'Lists (Views)' + - Menus + - 'News Lists (Views)' + - 'PDB React' + - 'People Lists (Views)' + - 'Policy (Views)' + - Printable + - 'Publication (Views)' + - React + - 'Stanford News' + - 'Stanford Profile Helper' + - 'Stanford SAML Authentication' + - System + - 'Taxonomy Terms (Views)' + - User + - Views + - core + entity_view_mode_restriction: + allowed_layouts: + - jumpstart_ui_one_column + - jumpstart_ui_two_column + - jumpstart_ui_three_column + denylisted_blocks: { } + allowlisted_blocks: + 'Changelog (Views)': + - 'views_block:change_logs-policy_changes' + 'Content fields': + - 'field_block:node:stanford_opportunity:su_opp_application_deadline' + - 'field_block:node:stanford_opportunity:su_opp_open_date' + - 'field_block:node:stanford_opportunity:body' + - 'field_block:node:stanford_opportunity:su_opp_cta_url' + - 'field_block:node:stanford_opportunity:changed' + - 'field_block:node:stanford_opportunity:su_opp_status' + - 'field_block:node:stanford_opportunity:su_opp_contact_email' + - 'field_block:node:stanford_opportunity:su_opp_contact_url' + - 'field_block:node:stanford_opportunity:su_opp_contact_name' + - 'field_block:node:stanford_opportunity:su_opp_contact_phone' + - 'field_block:node:stanford_opportunity:su_opp_course_code' + - 'field_block:node:stanford_opportunity:su_opp_eligibility' + - 'field_block:node:stanford_opportunity:su_opp_source' + - 'field_block:node:stanford_opportunity:su_opp_image' + - 'field_block:node:stanford_opportunity:su_opp_learn_more' + - 'field_block:node:stanford_opportunity:su_opp_tags' + - 'field_block:node:stanford_opportunity:su_opp_type' + - 'field_block:node:stanford_opportunity:su_opp_components' + - 'field_block:node:stanford_opportunity:su_opp_prerequisites' + - 'field_block:node:stanford_opportunity:su_opp_sponsor' + - 'field_block:node:stanford_opportunity:su_opp_start_date' + - 'field_block:node:stanford_opportunity:su_opp_summary' + - 'field_block:node:stanford_opportunity:title' + Menus: + - 'system_menu_block:stanford-event-types' + - 'menu_block:main' + - 'system_menu_block:stanford-person-type' + - 'system_menu_block:stanford-publication-topics' + - 'system_menu_block:news-topics' + System: + - system_breadcrumb_block + core: + - page_title_block + restricted_categories: + - Book + - 'Chaos Tools' + - 'Config Pages' + - Devel + - 'Devel PHP' + - Editoria11y + - Forms + - Help + - 'Lists (Views)' + - 'Policy (Views)' + - Printable + - React + - 'Stanford Profile Helper' + - 'Stanford SAML Authentication' + - 'Taxonomy Terms (Views)' + - User + - Views + field_group: + group_opp_card: + children: { } + label: 'Opportunity Details Card' + parent_name: '' + region: hidden + weight: 20 + format_type: html_element + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast +id: node.stanford_opportunity.full +targetEntityType: node +bundle: stanford_opportunity +mode: full +content: { } +hidden: + body: true + layout_builder__layout: true + links: true + search_api_excerpt: true + su_opp_application_deadline: true + su_opp_back_to_link: true + su_opp_components: true + su_opp_contact_email: true + su_opp_contact_name: true + su_opp_contact_phone: true + su_opp_contact_url: true + su_opp_course_code: true + su_opp_cta_url: true + su_opp_eligibility: true + su_opp_image: true + su_opp_learn_more: true + su_opp_open_date: true + su_opp_prerequisites: true + su_opp_source: true + su_opp_sponsor: true + su_opp_start_date: true + su_opp_status: true + su_opp_summary: true + su_opp_tags: true + su_opp_type: true diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml index a7f88cfb6..e23d351ee 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml @@ -29,6 +29,10 @@ dependencies: - node.type.stanford_opportunity module: - datetime + - empty_fields + - field_formatter_class + - field_label + - stanford_media - text - user id: node.stanford_opportunity.teaser @@ -46,16 +50,26 @@ content: weight: 1 region: content su_opp_image: - type: entity_reference_label + type: media_responsive_image_formatter label: hidden settings: - link: true - third_party_settings: { } + view_mode: stanford_image_large_square + link: false + image_style: '' + remove_alt: 0 + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' weight: 0 region: content su_opp_sponsor: type: entity_reference_label - label: above + label: inline settings: link: true third_party_settings: { }