From 8eccec95f1ab28eb62cb4aaf97173e9323903cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 2 Dec 2018 19:30:08 -0500 Subject: [PATCH] Restore access to the body field; use for short bio next to image --- ...ntity_form_display.node.people.default.yml | 25 ++++++++++++++++--- ...e.entity_view_display.node.people.full.yml | 15 ++++++++--- 2 files changed, 32 insertions(+), 8 deletions(-) diff --git a/config/sync/core.entity_form_display.node.people.default.yml b/config/sync/core.entity_form_display.node.people.default.yml index a30f1b2..134e14d 100644 --- a/config/sync/core.entity_form_display.node.people.default.yml +++ b/config/sync/core.entity_form_display.node.people.default.yml @@ -13,6 +13,7 @@ dependencies: - image.style.thumbnail - node.type.people module: + - allowed_formats - image - metatag - paragraphs @@ -25,6 +26,18 @@ targetEntityType: node bundle: people mode: default 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: type: datetime_timestamp weight: 7 @@ -52,7 +65,7 @@ content: type: image_image region: content field_meta_tags: - weight: 26 + weight: 11 settings: { } third_party_settings: { } type: metatag_firehose @@ -96,7 +109,7 @@ content: type: boolean_checkbox settings: display_label: true - weight: 120 + weight: 13 region: content third_party_settings: { } sticky: @@ -123,5 +136,9 @@ content: placeholder: '' third_party_settings: { } region: content -hidden: - body: true + url_redirects: + weight: 12 + region: content + settings: { } + third_party_settings: { } +hidden: { } diff --git a/config/sync/core.entity_view_display.node.people.full.yml b/config/sync/core.entity_view_display.node.people.full.yml index 03ff4a3..3a0678f 100644 --- a/config/sync/core.entity_view_display.node.people.full.yml +++ b/config/sync/core.entity_view_display.node.people.full.yml @@ -25,6 +25,14 @@ targetEntityType: node bundle: people mode: full content: + body: + type: text_summary_or_trimmed + weight: 4 + region: content + label: hidden + settings: + trim_length: 600 + third_party_settings: { } field_body_paragraph: weight: 2 label: hidden @@ -58,13 +66,12 @@ content: link: true third_party_settings: { } type: entity_reference_label - region: right + region: content links: - weight: 4 - region: right + weight: 5 + region: content settings: { } third_party_settings: { } hidden: - body: true field_meta_tags: true field_summary: true