From 919badeddcc2cee72948b7cf21a73cfa3c604277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Thu, 18 Jun 2020 10:39:58 -0400 Subject: [PATCH] Add 'post date' (which we're using for training date) to landing page simple cards Yes we know that we're going to have to make a content type (or use event?) for trainings 'cause this is ridiculous. Ref #221 --- ....entity_view_display.node.landing_page.simple_card.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/sync/core.entity_view_display.node.landing_page.simple_card.yml b/config/sync/core.entity_view_display.node.landing_page.simple_card.yml index 24d849a..85c3ea0 100644 --- a/config/sync/core.entity_view_display.node.landing_page.simple_card.yml +++ b/config/sync/core.entity_view_display.node.landing_page.simple_card.yml @@ -34,9 +34,15 @@ third_party_settings: regions: left: - node_title + - node_post_date right: - field_image fields: + node_post_date: + plugin_id: node_post_date + weight: 1 + label: hidden + formatter: ds_post_date_medium node_title: plugin_id: node_title weight: 0 @@ -56,7 +62,7 @@ mode: simple_card content: field_image: type: responsive_image - weight: 1 + weight: 2 region: right label: hidden settings: