From 8087cf87904f30c9ab8421a80a327d0fcc95c261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 18 Dec 2018 17:20:18 -0500 Subject: [PATCH] Configure page teaser displayed fields (& ditch Display Suite template) Ref #127 --- ...e.entity_view_display.node.page.teaser.yml | 47 ++++++------------- 1 file changed, 15 insertions(+), 32 deletions(-) diff --git a/config/sync/core.entity_view_display.node.page.teaser.yml b/config/sync/core.entity_view_display.node.page.teaser.yml index ab3bac7..f242653 100644 --- a/config/sync/core.entity_view_display.node.page.teaser.yml +++ b/config/sync/core.entity_view_display.node.page.teaser.yml @@ -7,42 +7,14 @@ dependencies: - field.field.node.page.body - field.field.node.page.field_body_paragraph - field.field.node.page.field_meta_tags + - field.field.node.page.field_storyline - field.field.node.page.field_summary - node.type.page module: - ds + - entity_reference_revisions - text - user -third_party_settings: - ds: - layout: - id: ds_1col - library: null - disable_css: false - entity_classes: all_classes - settings: - wrappers: - ds_content: div - outer_wrapper: div - attributes: '' - link_attribute: '' - link_custom: '' - classes: - layout_class: { } - regions: - ds_content: - - node_title - - field_summary - fields: - node_title: - plugin_id: node_title - weight: 0 - label: hidden - formatter: default - settings: - link: true - wrapper: h2 - class: '' _core: default_config_hash: BKUufmEYaaN3co_7-bdlsJm6bUHORrPYYf_FYmthy4g id: node.page.teaser @@ -50,15 +22,26 @@ targetEntityType: node bundle: page mode: teaser content: + field_body_paragraph: + type: entity_reference_revisions_entity_view + weight: 2 + region: content + label: hidden + settings: + view_mode: preview + link: '' + third_party_settings: + ds: + ds_limit: '' field_summary: type: text_default weight: 1 label: hidden settings: { } third_party_settings: { } - region: ds_content + region: content hidden: body: true - field_body_paragraph: true field_meta_tags: true + field_storyline: true links: true