From 2c90d035d879abbd62b2c39cd7c83402570a3924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 30 Sep 2019 19:59:31 -0400 Subject: [PATCH] Configure collection card display --- ...tity_view_display.node.collection.card.yml | 29 +++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/config/sync/core.entity_view_display.node.collection.card.yml b/config/sync/core.entity_view_display.node.collection.card.yml index 80ea17c..74371bd 100644 --- a/config/sync/core.entity_view_display.node.collection.card.yml +++ b/config/sync/core.entity_view_display.node.collection.card.yml @@ -12,10 +12,12 @@ dependencies: - field.field.node.collection.field_collection_type - field.field.node.collection.field_image - field.field.node.collection.field_meta_tags + - field.field.node.collection.field_publication_date - field.field.node.collection.field_summary - field.field.node.collection.field_tags - field.field.node.collection.field_topics - node.type.collection + - responsive_image.styles.narrow module: - ds - field_group @@ -39,11 +41,11 @@ third_party_settings: layout_class: { } regions: ds_content: - - node_title - field_image - group_card_content - - field_authors - node_post_date + - node_title + - field_authors fields: node_post_date: plugin_id: node_post_date @@ -52,7 +54,7 @@ third_party_settings: formatter: ds_post_date_month_day_year node_title: plugin_id: node_title - weight: 0 + weight: 7 label: hidden formatter: default settings: @@ -62,10 +64,9 @@ third_party_settings: field_group: group_card_content: children: - - node_title - - field_image - - field_authors - node_post_date + - node_title + - field_authors parent_name: '' weight: 1 format_type: html_element @@ -89,11 +90,13 @@ bundle: collection mode: card content: field_authors: - weight: 5 + weight: 8 label: hidden settings: - link: true - third_party_settings: { } + link: false + third_party_settings: + ds: + ds_limit: '' type: entity_reference_label region: ds_content field_image: @@ -102,9 +105,11 @@ content: region: ds_content label: hidden settings: - responsive_image_style: '' - image_link: '' - third_party_settings: { } + responsive_image_style: narrow + image_link: content + third_party_settings: + ds: + ds_limit: '1' hidden: body: true comment: true