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

View file

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