From 5fde8cdd4fdfe49a0d37cc73ec0bbb86281bbc06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 10 Dec 2018 18:09:09 -0500 Subject: [PATCH] Dump display suite and update blog 'card' output with lovely simple things that fit into our new template beautifully --- ...ore.entity_view_display.node.blog.card.yml | 79 +++++-------------- 1 file changed, 19 insertions(+), 60 deletions(-) diff --git a/config/sync/core.entity_view_display.node.blog.card.yml b/config/sync/core.entity_view_display.node.blog.card.yml index b3dca4a..19722d1 100644 --- a/config/sync/core.entity_view_display.node.blog.card.yml +++ b/config/sync/core.entity_view_display.node.blog.card.yml @@ -22,48 +22,11 @@ dependencies: - 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: - - field_image - - group_card_content - - node_title - - field_authors - - field_summary - - field_topics - fields: - node_title: - plugin_id: node_title - weight: 3 - label: hidden - formatter: default - settings: - link: true - wrapper: h2 - class: '' field_group: group_card_content: - children: - - node_title - - field_authors - - field_summary - - field_topics + children: { } parent_name: '' - weight: 1 + weight: 10 format_type: html_element format_settings: id: '' @@ -85,35 +48,30 @@ mode: card content: field_authors: type: entity_reference_label - weight: 4 - region: ds_content - label: visually_hidden + weight: 0 + region: content + label: hidden settings: - link: true - third_party_settings: { } + link: false + third_party_settings: + ds: + ds_limit: '' field_image: type: responsive_image - weight: 0 - region: ds_content - label: visually_hidden + weight: 1 + region: content + label: hidden settings: responsive_image_style: narrow - image_link: content + image_link: '' third_party_settings: { } field_summary: - type: text_default - weight: 5 - region: ds_content - label: visually_hidden - settings: { } - third_party_settings: { } - field_topics: - type: entity_reference_label - weight: 6 - region: ds_content - label: visually_hidden + type: text_trimmed + weight: 2 + region: content + label: hidden settings: - link: true + trim_length: 600 third_party_settings: { } hidden: body: true @@ -121,4 +79,5 @@ hidden: field_body_paragraph: true field_meta_tags: true field_tags: true + field_topics: true links: true