Restore access to the body field; use for short bio next to image

This commit is contained in:
benjamin melançon 2018-12-02 19:30:08 -05:00
parent c95806ba71
commit 8eccec95f1
2 changed files with 32 additions and 8 deletions

View file

@ -13,6 +13,7 @@ dependencies:
- image.style.thumbnail - image.style.thumbnail
- node.type.people - node.type.people
module: module:
- allowed_formats
- image - image
- metatag - metatag
- paragraphs - paragraphs
@ -25,6 +26,18 @@ targetEntityType: node
bundle: people bundle: people
mode: default mode: default
content: content:
body:
type: text_textarea_with_summary
weight: 14
region: content
settings:
rows: 9
placeholder: ''
summary_rows: 3
third_party_settings:
allowed_formats:
hide_help: '0'
hide_guidelines: '0'
created: created:
type: datetime_timestamp type: datetime_timestamp
weight: 7 weight: 7
@ -52,7 +65,7 @@ content:
type: image_image type: image_image
region: content region: content
field_meta_tags: field_meta_tags:
weight: 26 weight: 11
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: metatag_firehose type: metatag_firehose
@ -96,7 +109,7 @@ content:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 120 weight: 13
region: content region: content
third_party_settings: { } third_party_settings: { }
sticky: sticky:
@ -123,5 +136,9 @@ content:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
region: content region: content
hidden: url_redirects:
body: true weight: 12
region: content
settings: { }
third_party_settings: { }
hidden: { }

View file

@ -25,6 +25,14 @@ targetEntityType: node
bundle: people bundle: people
mode: full mode: full
content: content:
body:
type: text_summary_or_trimmed
weight: 4
region: content
label: hidden
settings:
trim_length: 600
third_party_settings: { }
field_body_paragraph: field_body_paragraph:
weight: 2 weight: 2
label: hidden label: hidden
@ -58,13 +66,12 @@ content:
link: true link: true
third_party_settings: { } third_party_settings: { }
type: entity_reference_label type: entity_reference_label
region: right region: content
links: links:
weight: 4 weight: 5
region: right region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
hidden: hidden:
body: true
field_meta_tags: true field_meta_tags: true
field_summary: true field_summary: true