From 287b6d9ab7cd61471961da9cf0fdde53c077f294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 11 Nov 2018 19:19:38 -0500 Subject: [PATCH] Configure case study tile --- ...tity_view_display.node.case_study.tile.yml | 44 ++++++++++++++----- 1 file changed, 33 insertions(+), 11 deletions(-) diff --git a/config/sync/core.entity_view_display.node.case_study.tile.yml b/config/sync/core.entity_view_display.node.case_study.tile.yml index 2a84a2f..8e92db3 100644 --- a/config/sync/core.entity_view_display.node.case_study.tile.yml +++ b/config/sync/core.entity_view_display.node.case_study.tile.yml @@ -22,25 +22,37 @@ dependencies: - responsive_image.styles.wide module: - ds + - entity_reference_revisions - responsive_image - user third_party_settings: ds: layout: - id: layout_onecol - library: layout_discovery/onecol + id: pattern_tile + library: null disable_css: false entity_classes: all_classes - settings: { } + settings: + pattern: + field_templates: default + variant: berry regions: - content: - - field_image + title: - node_title + - field_image + - field_body_paragraph + subtitle: - field_case_study_subtitle + - node_post_date fields: + node_post_date: + plugin_id: node_post_date + weight: 4 + label: hidden + formatter: ds_post_date_long node_title: plugin_id: node_title - weight: 1 + weight: 0 label: hidden formatter: default settings: @@ -55,10 +67,21 @@ targetEntityType: node bundle: case_study mode: tile content: + field_body_paragraph: + type: entity_reference_revisions_entity_view + weight: 2 + region: title + label: hidden + settings: + view_mode: tile + link: '' + third_party_settings: + ds: + ds_limit: '1' field_case_study_subtitle: type: string - weight: 2 - region: content + weight: 3 + region: subtitle label: hidden settings: link_to_entity: false @@ -73,8 +96,8 @@ content: lb-col: false field_image: type: responsive_image - weight: 0 - region: content + weight: 1 + region: title label: hidden settings: responsive_image_style: wide @@ -90,7 +113,6 @@ content: lb-col: false hidden: body: true - field_body_paragraph: true field_case_study_client: true field_case_study_partners: true field_case_study_status: true