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

View file

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