Configure case study tile

This commit is contained in:
benjamin melançon 2018-11-11 19:19:38 -05:00
parent eb036a8704
commit 287b6d9ab7

View file

@ -22,25 +22,37 @@ dependencies:
- responsive_image.styles.wide - responsive_image.styles.wide
module: module:
- ds - ds
- entity_reference_revisions
- responsive_image - responsive_image
- user - user
third_party_settings: third_party_settings:
ds: ds:
layout: layout:
id: layout_onecol id: pattern_tile
library: layout_discovery/onecol library: null
disable_css: false disable_css: false
entity_classes: all_classes entity_classes: all_classes
settings: { } settings:
pattern:
field_templates: default
variant: berry
regions: regions:
content: title:
- field_image
- node_title - node_title
- field_image
- field_body_paragraph
subtitle:
- field_case_study_subtitle - field_case_study_subtitle
- node_post_date
fields: fields:
node_post_date:
plugin_id: node_post_date
weight: 4
label: hidden
formatter: ds_post_date_long
node_title: node_title:
plugin_id: node_title plugin_id: node_title
weight: 1 weight: 0
label: hidden label: hidden
formatter: default formatter: default
settings: settings:
@ -55,10 +67,21 @@ targetEntityType: node
bundle: case_study bundle: case_study
mode: tile mode: tile
content: content:
field_body_paragraph:
type: entity_reference_revisions_entity_view
weight: 2
region: title
label: hidden
settings:
view_mode: tile
link: ''
third_party_settings:
ds:
ds_limit: '1'
field_case_study_subtitle: field_case_study_subtitle:
type: string type: string
weight: 2 weight: 3
region: content region: subtitle
label: hidden label: hidden
settings: settings:
link_to_entity: false link_to_entity: false
@ -73,8 +96,8 @@ content:
lb-col: false lb-col: false
field_image: field_image:
type: responsive_image type: responsive_image
weight: 0 weight: 1
region: content region: title
label: hidden label: hidden
settings: settings:
responsive_image_style: wide responsive_image_style: wide
@ -90,7 +113,6 @@ content:
lb-col: false lb-col: false
hidden: hidden:
body: true body: true
field_body_paragraph: true
field_case_study_client: true field_case_study_client: true
field_case_study_partners: true field_case_study_partners: true
field_case_study_status: true field_case_study_status: true