Configure gleaning display; remove comment field from teasers etc.

This commit is contained in:
benjamin melançon 2019-09-23 07:20:12 -04:00
parent eeafcbfba2
commit 62dc4757bd
2 changed files with 18 additions and 25 deletions

View file

@ -3,14 +3,12 @@ langcode: en
status: true
dependencies:
config:
- core.entity_view_display.comment.comment.default
- field.field.node.gleaning.body
- field.field.node.gleaning.comment
- field.field.node.gleaning.field_image
- field.field.node.gleaning.field_upload
- node.type.gleaning
module:
- comment
- file
- image
- text
@ -23,21 +21,12 @@ content:
body:
label: hidden
type: text_default
weight: 101
weight: 1
settings: { }
third_party_settings: { }
region: content
comment:
weight: 104
label: above
settings:
view_mode: default
pager_id: 0
third_party_settings: { }
type: comment_default
region: content
field_image:
weight: 102
weight: 2
label: above
settings:
image_style: ''
@ -46,7 +35,7 @@ content:
type: image
region: content
field_upload:
weight: 103
weight: 3
label: above
settings:
use_description_as_link_text: true
@ -54,9 +43,10 @@ content:
type: file_default
region: content
links:
weight: 100
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
comment: true
search_api_excerpt: true

View file

@ -3,14 +3,16 @@ langcode: en
status: true
dependencies:
config:
- core.entity_view_display.comment.comment.default
- core.entity_view_mode.node.full
- field.field.node.gleaning.body
- field.field.node.gleaning.comment
- field.field.node.gleaning.field_image
- field.field.node.gleaning.field_upload
- node.type.gleaning
module:
- comment
- file
- image
- text
- user
id: node.gleaning.full
@ -21,21 +23,21 @@ content:
body:
label: hidden
type: text_default
weight: 101
weight: 1
settings: { }
third_party_settings: { }
region: content
field_image:
weight: 102
comment:
type: comment_default
weight: 3
region: content
label: above
settings:
image_style: ''
image_link: ''
view_mode: default
pager_id: 0
third_party_settings: { }
type: image
region: content
field_upload:
weight: 103
weight: 2
label: above
settings:
use_description_as_link_text: true
@ -43,9 +45,10 @@ content:
type: file_default
region: content
links:
weight: 100
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
field_image: true
search_api_excerpt: true