From 427ec3f1de8f03407ac4e16c9a9e6683a576bc45 Mon Sep 17 00:00:00 2001 From: Rebecca Hong Date: Wed, 18 Sep 2024 01:01:46 +0000 Subject: [PATCH] D8CORE-7435 | configure card display --- ...ode.stanford_opportunity.stanford_card.yml | 25 ++++++++++++++--- ....stanford_opportunity.stanford_h3_card.yml | 28 +++++++++++++++---- 2 files changed, 44 insertions(+), 9 deletions(-) diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_card.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_card.yml index a5eac0b0a..f5067d3e8 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_card.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_card.yml @@ -64,14 +64,17 @@ third_party_settings: regions: card_image: - su_opp_image + card_super_headline: + - su_opp_sponsor card_headline: - node_title card_body: + - su_opp_type - su_opp_summary fields: node_title: plugin_id: node_title - weight: 1 + weight: 2 label: hidden formatter: default settings: @@ -103,6 +106,14 @@ content: label_tag: '' weight: 0 region: card_image + su_opp_sponsor: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 1 + region: card_super_headline su_opp_summary: type: smart_trim label: hidden @@ -132,7 +143,15 @@ content: field_label: label_value: '' label_tag: '' - weight: 2 + weight: 4 + region: card_body + su_opp_type: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 3 region: card_body hidden: body: true @@ -152,8 +171,6 @@ hidden: 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_tags: true - su_opp_type: true diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_h3_card.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_h3_card.yml index 32b56e207..d566676e1 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_h3_card.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_h3_card.yml @@ -64,13 +64,17 @@ third_party_settings: regions: card_image: - su_opp_image - card_body: + card_super_headline: + - su_opp_sponsor + card_headline: - node_title + card_body: + - su_opp_type - su_opp_summary fields: node_title: plugin_id: node_title - weight: 1 + weight: 2 label: hidden formatter: default settings: @@ -102,6 +106,14 @@ content: label_tag: '' weight: 0 region: card_image + su_opp_sponsor: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 1 + region: card_super_headline su_opp_summary: type: smart_trim label: hidden @@ -131,7 +143,15 @@ content: field_label: label_value: '' label_tag: '' - weight: 2 + weight: 4 + region: card_body + su_opp_type: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 3 region: card_body hidden: body: true @@ -151,8 +171,6 @@ hidden: 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_tags: true - su_opp_type: true