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