Use display suite for gleaning card as for others; set available fields

This commit is contained in:
benjamin melançon 2019-10-01 12:17:37 -04:00
parent 9f762f6df3
commit 3fa06f9ea8

View file

@ -22,6 +22,7 @@ third_party_settings:
group_card_content: group_card_content:
children: children:
- field_publication_date - field_publication_date
- node_title
parent_name: '' parent_name: ''
weight: 1 weight: 1
format_type: html_element format_type: html_element
@ -36,7 +37,34 @@ third_party_settings:
effect: none effect: none
speed: fast speed: fast
label: 'Card content' label: 'Card content'
region: content region: hidden
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
- field_publication_date
- node_title
fields:
node_title:
plugin_id: node_title
weight: 16
label: hidden
formatter: default
id: node.gleaning.card id: node.gleaning.card
targetEntityType: node targetEntityType: node
bundle: gleaning bundle: gleaning
@ -45,7 +73,7 @@ content:
field_image: field_image:
type: responsive_image type: responsive_image
weight: 0 weight: 0
region: content region: ds_content
label: hidden label: hidden
settings: settings:
responsive_image_style: narrow responsive_image_style: narrow
@ -55,12 +83,12 @@ content:
ds_limit: '1' ds_limit: '1'
field_publication_date: field_publication_date:
type: datetime_default type: datetime_default
weight: 5 weight: 15
region: content region: ds_content
label: above label: hidden
settings: settings:
format_type: medium
timezone_override: '' timezone_override: ''
format_type: month_day_year
third_party_settings: { } third_party_settings: { }
hidden: hidden:
body: true body: true