Configure page teaser displayed fields (& ditch Display Suite template)

Ref #127
This commit is contained in:
benjamin melançon 2018-12-18 17:20:18 -05:00
parent 455020aed2
commit 8087cf8790

View file

@ -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