Configure gleaning cards to be somewhat reasonable

This commit is contained in:
benjamin melançon 2019-09-22 20:09:32 -04:00
parent 39e1eeafa6
commit 09689dbab7
3 changed files with 91 additions and 1 deletions

View file

@ -0,0 +1,39 @@
uuid: 711db482-2ff5-48a0-8073-59d9a3e8133e
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.card
- field.field.node.gleaning.body
- field.field.node.gleaning.field_image
- field.field.node.gleaning.field_upload
- node.type.gleaning
module:
- ds
- image
- user
id: node.gleaning.card
targetEntityType: node
bundle: gleaning
mode: card
content:
field_image:
type: image
weight: 0
region: content
label: hidden
settings:
image_style: ''
image_link: content
third_party_settings:
ds:
ds_limit: '1'
links:
weight: 1
region: content
settings: { }
third_party_settings: { }
hidden:
body: true
field_upload: true
search_api_excerpt: true

View file

@ -43,8 +43,8 @@ content:
region: content
links:
weight: 100
region: content
settings: { }
third_party_settings: { }
region: content
hidden:
search_api_excerpt: true

View file

@ -0,0 +1,51 @@
uuid: 302a64ad-f345-49d1-a38d-630c3302a492
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.full
- field.field.node.gleaning.body
- field.field.node.gleaning.field_image
- field.field.node.gleaning.field_upload
- node.type.gleaning
module:
- file
- image
- text
- user
id: node.gleaning.full
targetEntityType: node
bundle: gleaning
mode: full
content:
body:
label: hidden
type: text_default
weight: 101
settings: { }
third_party_settings: { }
region: content
field_image:
weight: 102
label: above
settings:
image_style: ''
image_link: ''
third_party_settings: { }
type: image
region: content
field_upload:
weight: 103
label: above
settings:
use_description_as_link_text: true
third_party_settings: { }
type: file_default
region: content
links:
weight: 100
region: content
settings: { }
third_party_settings: { }
hidden:
search_api_excerpt: true