diff --git a/config/sync/core.entity_form_display.paragraph.text.default.yml b/config/sync/core.entity_form_display.paragraph.text.default.yml index b4d4ed3..52b1337 100644 --- a/config/sync/core.entity_form_display.paragraph.text.default.yml +++ b/config/sync/core.entity_form_display.paragraph.text.default.yml @@ -3,6 +3,7 @@ langcode: en status: true dependencies: config: + - field.field.paragraph.text.field_style_classes - field.field.paragraph.text.field_text - paragraphs.paragraphs_type.text module: @@ -14,6 +15,12 @@ targetEntityType: paragraph bundle: text mode: default content: + field_style_classes: + weight: 1 + settings: { } + third_party_settings: { } + type: options_select + region: content field_text: weight: 0 settings: diff --git a/config/sync/core.entity_view_display.paragraph.text.default.yml b/config/sync/core.entity_view_display.paragraph.text.default.yml index a37c488..cfd6f4e 100644 --- a/config/sync/core.entity_view_display.paragraph.text.default.yml +++ b/config/sync/core.entity_view_display.paragraph.text.default.yml @@ -3,6 +3,7 @@ langcode: en status: true dependencies: config: + - field.field.paragraph.text.field_style_classes - field.field.paragraph.text.field_text - paragraphs.paragraphs_type.text module: @@ -21,4 +22,5 @@ content: third_party_settings: { } type: text_default region: content -hidden: { } +hidden: + field_style_classes: true diff --git a/config/sync/field.field.paragraph.text.field_style_classes.yml b/config/sync/field.field.paragraph.text.field_style_classes.yml new file mode 100644 index 0000000..77359bf --- /dev/null +++ b/config/sync/field.field.paragraph.text.field_style_classes.yml @@ -0,0 +1,21 @@ +uuid: d2cc85cf-82ea-45c3-9bef-636780e14906 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_style_classes + - paragraphs.paragraphs_type.text + module: + - options +id: paragraph.text.field_style_classes +field_name: field_style_classes +entity_type: paragraph +bundle: text +label: 'Section style' +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/sync/field.storage.paragraph.field_style_classes.yml b/config/sync/field.storage.paragraph.field_style_classes.yml index 70c31d4..4f9bd4d 100644 --- a/config/sync/field.storage.paragraph.field_style_classes.yml +++ b/config/sync/field.storage.paragraph.field_style_classes.yml @@ -17,6 +17,9 @@ settings: - value: is-large label: Large + - + value: is-light + label: Light allowed_values_function: '' module: options locked: false