Add color style field

We'll try field_style_ as the prefix standard for fields used to format
the look of content, rather than being content themselves.
This commit is contained in:
benjamin melançon 2018-10-24 04:27:02 -04:00
parent 8455e91a9a
commit 68f9527066
4 changed files with 72 additions and 0 deletions

View file

@ -4,12 +4,14 @@ status: true
dependencies:
config:
- field.field.paragraph.title.field_image
- field.field.paragraph.title.field_style_color
- field.field.paragraph.title.field_subtitle
- field.field.paragraph.title.field_title
- image.style.max_650x650
- paragraphs.paragraphs_type.title
module:
- image
- options
- text
id: paragraph.title.default
targetEntityType: paragraph
@ -23,6 +25,12 @@ content:
image_style: max_650x650
third_party_settings: { }
type: image_url
field_style_color:
weight: 3
label: hidden
settings: { }
third_party_settings: { }
type: list_key
region: content
field_subtitle:
weight: 1