Add a boolean field for busting out of the flow

This commit is contained in:
benjamin melançon 2018-11-19 21:20:30 -05:00
parent 034c4e185f
commit 81310df79f
4 changed files with 77 additions and 1 deletions

View file

@ -3,17 +3,41 @@ langcode: en
status: true
dependencies:
config:
- field.field.paragraph.view.field_style_escape_flow
- field.field.paragraph.view.field_view_reference
- paragraphs.paragraphs_type.view
module:
- field_group
- viewsreference
third_party_settings:
field_group:
group_style:
children:
- field_style_escape_flow
parent_name: ''
weight: 1
format_type: details
format_settings:
id: ''
classes: ''
open: true
required_fields: true
label: Style
region: content
id: paragraph.view.default
targetEntityType: paragraph
bundle: view
mode: default
content:
field_style_escape_flow:
weight: 2
settings:
display_label: false
third_party_settings: { }
type: boolean_checkbox
region: content
field_view_reference:
weight: 1
weight: 0
settings:
match_operator: CONTAINS
size: '60'

View file

@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- field.field.paragraph.view.field_style_escape_flow
- field.field.paragraph.view.field_view_reference
- paragraphs.paragraphs_type.view
module:
@ -12,6 +13,16 @@ targetEntityType: paragraph
bundle: view
mode: default
content:
field_style_escape_flow:
weight: 2
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
type: boolean
region: content
field_view_reference:
weight: 1
label: hidden

View file

@ -0,0 +1,23 @@
uuid: 3bc88415-1587-43d8-9a11-d70504be46e0
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_style_escape_flow
- paragraphs.paragraphs_type.view
id: paragraph.view.field_style_escape_flow
field_name: field_style_escape_flow
entity_type: paragraph
bundle: view
label: 'Expand beyond content to sides'
description: 'Bust out of content flow to be able to expand left and right.'
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: 'Bust out'
off_label: 'Stay in lane'
field_type: boolean

View file

@ -0,0 +1,18 @@
uuid: 6394f4d6-6bf1-41f6-b98e-b31a42a67e41
langcode: en
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_style_escape_flow
field_name: field_style_escape_flow
entity_type: paragraph
type: boolean
settings: { }
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false