Configure tile view mode for case study listing
This commit is contained in:
parent
04ae9b4dd4
commit
bbb899f8f9
5 changed files with 82 additions and 89 deletions
|
@ -20,17 +20,19 @@ dependencies:
|
||||||
- node.type.case_study
|
- node.type.case_study
|
||||||
module:
|
module:
|
||||||
- ds
|
- ds
|
||||||
- text
|
- paragraphs
|
||||||
- user
|
- user
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
ds:
|
ds:
|
||||||
layout:
|
layout:
|
||||||
id: layout_onecol
|
id: pattern_title_paragraph
|
||||||
library: layout_discovery/onecol
|
library: null
|
||||||
disable_css: false
|
disable_css: false
|
||||||
entity_classes: all_classes
|
entity_classes: all_classes
|
||||||
settings: { }
|
settings: { }
|
||||||
regions: { }
|
regions:
|
||||||
|
paragraphs:
|
||||||
|
- field_body_paragraph
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: bCf6cJZ9WLriQEA0IYx7QFyj0JBZcFc41oTGp_9UccU
|
default_config_hash: bCf6cJZ9WLriQEA0IYx7QFyj0JBZcFc41oTGp_9UccU
|
||||||
id: node.case_study.default
|
id: node.case_study.default
|
||||||
|
@ -38,32 +40,17 @@ targetEntityType: node
|
||||||
bundle: case_study
|
bundle: case_study
|
||||||
mode: default
|
mode: default
|
||||||
content:
|
content:
|
||||||
field_license:
|
field_body_paragraph:
|
||||||
weight: 1
|
type: paragraph_summary
|
||||||
label: above
|
weight: 0
|
||||||
settings:
|
region: paragraphs
|
||||||
link: true
|
label: hidden
|
||||||
third_party_settings: { }
|
|
||||||
type: entity_reference_label
|
|
||||||
region: content
|
|
||||||
field_summary:
|
|
||||||
weight: 2
|
|
||||||
label: above
|
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings:
|
||||||
type: text_default
|
ds:
|
||||||
region: content
|
ds_limit: '1'
|
||||||
field_technologies:
|
|
||||||
weight: 3
|
|
||||||
label: above
|
|
||||||
settings:
|
|
||||||
link: true
|
|
||||||
third_party_settings: { }
|
|
||||||
type: entity_reference_label
|
|
||||||
region: content
|
|
||||||
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
|
||||||
|
@ -71,6 +58,9 @@ hidden:
|
||||||
field_case_study_team: true
|
field_case_study_team: true
|
||||||
field_case_study_year: true
|
field_case_study_year: true
|
||||||
field_image: true
|
field_image: true
|
||||||
|
field_license: true
|
||||||
field_meta_tags: true
|
field_meta_tags: true
|
||||||
field_services: true
|
field_services: true
|
||||||
|
field_summary: true
|
||||||
|
field_technologies: true
|
||||||
links: true
|
links: true
|
||||||
|
|
|
@ -19,47 +19,23 @@ dependencies:
|
||||||
- field.field.node.case_study.field_summary
|
- field.field.node.case_study.field_summary
|
||||||
- field.field.node.case_study.field_technologies
|
- field.field.node.case_study.field_technologies
|
||||||
- node.type.case_study
|
- node.type.case_study
|
||||||
- responsive_image.styles.wide
|
|
||||||
module:
|
module:
|
||||||
- ds
|
- ds
|
||||||
- entity_reference_revisions
|
- entity_reference_revisions
|
||||||
- responsive_image
|
|
||||||
- user
|
- user
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
ds:
|
ds:
|
||||||
layout:
|
layout:
|
||||||
id: pattern_tile
|
id: pattern_title_paragraph
|
||||||
library: null
|
library: null
|
||||||
disable_css: false
|
disable_css: false
|
||||||
entity_classes: all_classes
|
entity_classes: all_classes
|
||||||
settings:
|
settings:
|
||||||
pattern:
|
pattern:
|
||||||
field_templates: default
|
field_templates: default
|
||||||
variant: berry
|
|
||||||
regions:
|
regions:
|
||||||
title:
|
paragraphs:
|
||||||
- node_title
|
|
||||||
- field_image
|
|
||||||
- field_body_paragraph
|
- 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: 0
|
|
||||||
label: hidden
|
|
||||||
formatter: default
|
|
||||||
settings:
|
|
||||||
link: true
|
|
||||||
wrapper: h2
|
|
||||||
class: title
|
|
||||||
exclude_node_title: '1'
|
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: 9bC0pOp-ep1gVclJKEIqhnIeBFLyFQuhdg3RGsKzFHg
|
default_config_hash: 9bC0pOp-ep1gVclJKEIqhnIeBFLyFQuhdg3RGsKzFHg
|
||||||
id: node.case_study.tile
|
id: node.case_study.tile
|
||||||
|
@ -69,55 +45,24 @@ mode: tile
|
||||||
content:
|
content:
|
||||||
field_body_paragraph:
|
field_body_paragraph:
|
||||||
type: entity_reference_revisions_entity_view
|
type: entity_reference_revisions_entity_view
|
||||||
weight: 2
|
weight: 0
|
||||||
region: title
|
region: paragraphs
|
||||||
label: hidden
|
label: hidden
|
||||||
settings:
|
settings:
|
||||||
view_mode: tile
|
view_mode: columnar
|
||||||
link: ''
|
link: ''
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
ds:
|
ds:
|
||||||
ds_limit: '1'
|
ds_limit: '1'
|
||||||
field_case_study_subtitle:
|
|
||||||
type: string
|
|
||||||
weight: 3
|
|
||||||
region: subtitle
|
|
||||||
label: hidden
|
|
||||||
settings:
|
|
||||||
link_to_entity: false
|
|
||||||
third_party_settings:
|
|
||||||
ds:
|
|
||||||
ft:
|
|
||||||
id: default
|
|
||||||
settings:
|
|
||||||
lb: ''
|
|
||||||
classes:
|
|
||||||
- subtitle
|
|
||||||
lb-col: false
|
|
||||||
field_image:
|
|
||||||
type: responsive_image
|
|
||||||
weight: 1
|
|
||||||
region: title
|
|
||||||
label: hidden
|
|
||||||
settings:
|
|
||||||
responsive_image_style: wide
|
|
||||||
image_link: content
|
|
||||||
third_party_settings:
|
|
||||||
ds:
|
|
||||||
ft:
|
|
||||||
id: default
|
|
||||||
settings:
|
|
||||||
lb: ''
|
|
||||||
classes:
|
|
||||||
- card-image
|
|
||||||
lb-col: false
|
|
||||||
hidden:
|
hidden:
|
||||||
body: true
|
body: 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
|
||||||
|
field_case_study_subtitle: true
|
||||||
field_case_study_team: true
|
field_case_study_team: true
|
||||||
field_case_study_year: true
|
field_case_study_year: true
|
||||||
|
field_image: true
|
||||||
field_license: true
|
field_license: true
|
||||||
field_meta_tags: true
|
field_meta_tags: true
|
||||||
field_services: true
|
field_services: true
|
||||||
|
|
|
@ -0,0 +1,51 @@
|
||||||
|
uuid: dc799418-ec3e-49b6-8674-76c72898a2f3
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- core.entity_view_mode.paragraph.columnar
|
||||||
|
- field.field.paragraph.title.field_image
|
||||||
|
- field.field.paragraph.title.field_style_color
|
||||||
|
- field.field.paragraph.title.field_subtitle
|
||||||
|
- field.field.paragraph.title.field_title
|
||||||
|
- image.style.max_325x325
|
||||||
|
- paragraphs.paragraphs_type.title
|
||||||
|
module:
|
||||||
|
- image
|
||||||
|
- options
|
||||||
|
- text
|
||||||
|
id: paragraph.title.columnar
|
||||||
|
targetEntityType: paragraph
|
||||||
|
bundle: title
|
||||||
|
mode: columnar
|
||||||
|
content:
|
||||||
|
field_image:
|
||||||
|
weight: 2
|
||||||
|
label: hidden
|
||||||
|
settings:
|
||||||
|
image_style: max_325x325
|
||||||
|
third_party_settings: { }
|
||||||
|
type: image_url
|
||||||
|
region: content
|
||||||
|
field_style_color:
|
||||||
|
weight: 3
|
||||||
|
label: hidden
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: list_key
|
||||||
|
region: content
|
||||||
|
field_subtitle:
|
||||||
|
weight: 1
|
||||||
|
label: hidden
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: text_default
|
||||||
|
region: content
|
||||||
|
field_title:
|
||||||
|
weight: 0
|
||||||
|
label: hidden
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: text_default
|
||||||
|
region: content
|
||||||
|
hidden: { }
|
|
@ -108,12 +108,14 @@ module:
|
||||||
toolbar: 0
|
toolbar: 0
|
||||||
tour: 0
|
tour: 0
|
||||||
ui_patterns: 0
|
ui_patterns: 0
|
||||||
|
ui_patterns_ds: 0
|
||||||
ui_patterns_layouts: 0
|
ui_patterns_layouts: 0
|
||||||
ui_patterns_library: 0
|
ui_patterns_library: 0
|
||||||
update: 0
|
update: 0
|
||||||
user: 0
|
user: 0
|
||||||
video_embed_field: 0
|
video_embed_field: 0
|
||||||
views_ui: 0
|
views_ui: 0
|
||||||
|
viewsreference: 0
|
||||||
webform: 0
|
webform: 0
|
||||||
webform_ui: 0
|
webform_ui: 0
|
||||||
wysiwyg_linebreaks: 0
|
wysiwyg_linebreaks: 0
|
||||||
|
|
|
@ -15,6 +15,7 @@ dependencies:
|
||||||
- paragraphs.paragraphs_type.title
|
- paragraphs.paragraphs_type.title
|
||||||
- paragraphs.paragraphs_type.update
|
- paragraphs.paragraphs_type.update
|
||||||
- paragraphs.paragraphs_type.video
|
- paragraphs.paragraphs_type.video
|
||||||
|
- paragraphs.paragraphs_type.view
|
||||||
module:
|
module:
|
||||||
- entity_reference_revisions
|
- entity_reference_revisions
|
||||||
_core:
|
_core:
|
||||||
|
@ -44,6 +45,7 @@ settings:
|
||||||
faq: faq
|
faq: faq
|
||||||
update: update
|
update: update
|
||||||
title: title
|
title: title
|
||||||
|
view: view
|
||||||
target_bundles_drag_drop:
|
target_bundles_drag_drop:
|
||||||
text:
|
text:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -75,4 +77,7 @@ settings:
|
||||||
title:
|
title:
|
||||||
enabled: true
|
enabled: true
|
||||||
weight: -12
|
weight: -12
|
||||||
|
view:
|
||||||
|
enabled: true
|
||||||
|
weight: 12
|
||||||
field_type: entity_reference_revisions
|
field_type: entity_reference_revisions
|
||||||
|
|
Loading…
Reference in a new issue