From 6b30f72780781cd8a7a83cdb2c9cbaa2a092430d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 13 Nov 2018 22:56:47 -0500 Subject: [PATCH] Add titlebar option to title paragraph --- ...re.entity_form_display.paragraph.title.default.yml | 8 ++++++++ ...re.entity_view_display.paragraph.title.default.yml | 11 +++++++++++ 2 files changed, 19 insertions(+) diff --git a/config/sync/core.entity_form_display.paragraph.title.default.yml b/config/sync/core.entity_form_display.paragraph.title.default.yml index 82ea280..0ca5d8b 100644 --- a/config/sync/core.entity_form_display.paragraph.title.default.yml +++ b/config/sync/core.entity_form_display.paragraph.title.default.yml @@ -5,6 +5,7 @@ dependencies: config: - field.field.paragraph.title.field_image - field.field.paragraph.title.field_style_color + - field.field.paragraph.title.field_style_titlebar - field.field.paragraph.title.field_subtitle - field.field.paragraph.title.field_title - image.style.thumbnail @@ -31,6 +32,13 @@ content: third_party_settings: { } type: options_select region: content + field_style_titlebar: + weight: 4 + settings: + display_label: true + third_party_settings: { } + type: boolean_checkbox + region: content field_subtitle: weight: 1 settings: diff --git a/config/sync/core.entity_view_display.paragraph.title.default.yml b/config/sync/core.entity_view_display.paragraph.title.default.yml index 5fca841..7841430 100644 --- a/config/sync/core.entity_view_display.paragraph.title.default.yml +++ b/config/sync/core.entity_view_display.paragraph.title.default.yml @@ -5,6 +5,7 @@ dependencies: config: - field.field.paragraph.title.field_image - field.field.paragraph.title.field_style_color + - field.field.paragraph.title.field_style_titlebar - field.field.paragraph.title.field_subtitle - field.field.paragraph.title.field_title - image.style.max_650x650 @@ -34,6 +35,16 @@ content: third_party_settings: { } type: list_key region: content + field_style_titlebar: + weight: 4 + label: hidden + settings: + format: true-false + format_custom_true: '' + format_custom_false: '' + third_party_settings: { } + type: boolean + region: content field_subtitle: weight: 1 label: hidden