Copy card view mode display config over to teaser

This commit is contained in:
benjamin melançon 2018-12-18 09:00:00 -05:00
parent 2f6aef4867
commit 1f2cc94090

View file

@ -14,53 +14,31 @@ dependencies:
- field.field.node.blog.field_tags
- field.field.node.blog.field_topics
- node.type.blog
- responsive_image.styles.narrow
- responsive_image.styles.wide
module:
- ds
- field_group
- responsive_image
- text
- user
third_party_settings:
ds:
layout:
id: ds_2col
library: ds/ds_2col
disable_css: false
entity_classes: all_classes
settings:
wrappers:
left: div
right: div
outer_wrapper: div
field_group:
group_card_content:
children: { }
parent_name: ''
weight: 10
format_type: html_element
format_settings:
id: ''
classes: ''
element: div
show_label: false
label_element: h3
attributes: ''
link_attribute: ''
link_custom: ''
classes:
layout_class: { }
regions:
left:
- field_image
right:
- node_post_date
- node_title
- field_authors
- field_summary
- field_topics
fields:
node_post_date:
plugin_id: node_post_date
weight: 1
label: hidden
formatter: ds_post_date_month_day_year
node_title:
plugin_id: node_title
weight: 2
label: hidden
formatter: default
settings:
link: true
wrapper: h2
class: ''
effect: none
speed: fast
label: 'Card content'
region: hidden
_core:
default_config_hash: bIW-s9Bo_W7omXxAG4XHIq96IyNJEbhcATZv9TBQqNU
id: node.blog.teaser
@ -70,35 +48,30 @@ mode: teaser
content:
field_authors:
type: entity_reference_label
weight: 3
region: right
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
label: visually_hidden
weight: 1
region: content
label: hidden
settings:
responsive_image_style: narrow
image_link: content
responsive_image_style: wide
image_link: ''
third_party_settings: { }
region: left
field_summary:
type: text_default
weight: 4
label: visually_hidden
settings: { }
third_party_settings: { }
region: right
field_topics:
type: entity_reference_label
weight: 5
region: right
label: visually_hidden
type: text_trimmed
weight: 2
region: content
label: hidden
settings:
link: true
trim_length: 600
third_party_settings: { }
hidden:
body: true
@ -106,4 +79,5 @@ hidden:
field_body_paragraph: true
field_meta_tags: true
field_tags: true
field_topics: true
links: true