Use display suite for gleaning card as for others; set available fields
This commit is contained in:
parent
9f762f6df3
commit
3fa06f9ea8
1 changed files with 34 additions and 6 deletions
|
@ -22,6 +22,7 @@ third_party_settings:
|
|||
group_card_content:
|
||||
children:
|
||||
- field_publication_date
|
||||
- node_title
|
||||
parent_name: ''
|
||||
weight: 1
|
||||
format_type: html_element
|
||||
|
@ -36,7 +37,34 @@ third_party_settings:
|
|||
effect: none
|
||||
speed: fast
|
||||
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
|
||||
targetEntityType: node
|
||||
bundle: gleaning
|
||||
|
@ -45,7 +73,7 @@ content:
|
|||
field_image:
|
||||
type: responsive_image
|
||||
weight: 0
|
||||
region: content
|
||||
region: ds_content
|
||||
label: hidden
|
||||
settings:
|
||||
responsive_image_style: narrow
|
||||
|
@ -55,12 +83,12 @@ content:
|
|||
ds_limit: '1'
|
||||
field_publication_date:
|
||||
type: datetime_default
|
||||
weight: 5
|
||||
region: content
|
||||
label: above
|
||||
weight: 15
|
||||
region: ds_content
|
||||
label: hidden
|
||||
settings:
|
||||
format_type: medium
|
||||
timezone_override: ''
|
||||
format_type: month_day_year
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
body: true
|
||||
|
|
Loading…
Add table
Reference in a new issue