Update collection display

todo bring this in at drutopia/drutopia_collection#1
This commit is contained in:
benjamin melançon 2019-09-24 09:57:26 -04:00
parent adbcac20ab
commit ce446778ad
2 changed files with 22 additions and 14 deletions

View file

@ -5,6 +5,7 @@ dependencies:
config:
- core.entity_view_mode.node.full
- field.field.node.collection.body
- field.field.node.collection.comment
- field.field.node.collection.field_authors
- field.field.node.collection.field_body_paragraph
- field.field.node.collection.field_collection_items
@ -17,8 +18,8 @@ dependencies:
- node.type.collection
module:
- ds
- entity_reference_revisions
- image
- paragraphs
- text
- user
third_party_settings:
@ -47,12 +48,12 @@ third_party_settings:
- node_post_date
- field_authors
- field_collection_type
- field_body_paragraph
- field_topics
- field_tags
right:
- field_summary
- field_collection_items
- field_body_paragraph
fields:
node_post_date:
plugin_id: node_post_date
@ -75,14 +76,16 @@ content:
type: entity_reference_label
region: left
field_body_paragraph:
type: paragraph_summary
weight: 4
region: left
type: entity_reference_revisions_entity_view
weight: 8
region: right
label: hidden
settings: { }
settings:
view_mode: default
link: ''
third_party_settings: { }
field_collection_items:
weight: 8
weight: 7
label: hidden
settings:
view_mode: teaser
@ -110,7 +113,7 @@ content:
type: image
region: header
field_summary:
weight: 7
weight: 6
label: hidden
settings: { }
third_party_settings: { }
@ -118,7 +121,7 @@ content:
region: right
field_tags:
type: entity_reference_label
weight: 6
weight: 5
region: left
label: visually_hidden
settings:
@ -126,7 +129,7 @@ content:
third_party_settings: { }
field_topics:
type: entity_reference_label
weight: 5
weight: 4
region: left
label: visually_hidden
settings:

View file

@ -5,6 +5,8 @@ dependencies:
config:
- field.field.paragraph.drutopia_collection.field_items
- paragraphs.paragraphs_type.drutopia_collection
module:
- ds
id: paragraph.drutopia_collection.default
targetEntityType: paragraph
bundle: drutopia_collection
@ -12,11 +14,14 @@ mode: default
content:
field_items:
weight: 0
label: above
label: hidden
settings:
link: true
third_party_settings: { }
type: entity_reference_label
view_mode: card
link: false
third_party_settings:
ds:
ds_limit: ''
type: entity_reference_entity_view
region: content
hidden:
search_api_excerpt: true