Skip to content
Snippets Groups Projects
Commit e9e8765a authored by Stephen Mustgrave's avatar Stephen Mustgrave
Browse files

Resolve #3416809 "Modal"

parent f625c2f9
No related branches found
No related tags found
1 merge request!6Resolve #3416809 "Modal"
Pipeline #82451 canceled
Showing
with 612 additions and 0 deletions
# UI Suite USWDS Paragraphs Modal
## Recommended settings
After installing recommend configuring allowed text formats at
`admin/structure/paragraphs_type/ui_suite_uswds_modal/fields/paragraph.ui_suite_uswds_modal.field_modal_content`
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.ui_suite_uswds_modal.field_modal_button_text
- field.field.paragraph.ui_suite_uswds_modal.field_modal_content
- field.field.paragraph.ui_suite_uswds_modal.field_modal_forced_action
- field.field.paragraph.ui_suite_uswds_modal.field_modal_large
- field.field.paragraph.ui_suite_uswds_modal.field_modal_no_link
- field.field.paragraph.ui_suite_uswds_modal.field_modal_no_text
- field.field.paragraph.ui_suite_uswds_modal.field_modal_title
- field.field.paragraph.ui_suite_uswds_modal.field_modal_yes_link
- field.field.paragraph.ui_suite_uswds_modal.field_modal_yes_text
- paragraphs.paragraphs_type.ui_suite_uswds_modal
module:
- field_group
- link
- text
third_party_settings:
field_group:
group_modal_settings:
children:
- field_modal_large
- field_modal_forced_action
- field_modal_button_text
- group_yes_settings
- group_no_settings
label: 'Modal Settings'
region: content
parent_name: ''
weight: 0
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: false
description: ''
required_fields: true
group_yes_settings:
children:
- field_modal_yes_text
- field_modal_yes_link
label: 'Yes Settings'
region: content
parent_name: group_modal_settings
weight: 6
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: false
description: ''
required_fields: true
group_no_settings:
children:
- field_modal_no_text
- field_modal_no_link
label: 'No Settings'
region: content
parent_name: group_modal_settings
weight: 7
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: false
description: ''
required_fields: true
id: paragraph.ui_suite_uswds_modal.default
targetEntityType: paragraph
bundle: ui_suite_uswds_modal
mode: default
content:
field_modal_button_text:
type: string_textfield
weight: 5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_modal_content:
type: text_textarea
weight: 10
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_modal_forced_action:
type: boolean_checkbox
weight: 4
region: content
settings:
display_label: true
third_party_settings: { }
field_modal_large:
type: boolean_checkbox
weight: 3
region: content
settings:
display_label: true
third_party_settings: { }
field_modal_no_link:
type: link_default
weight: 8
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_modal_no_text:
type: string_textfield
weight: 7
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_modal_title:
type: string_textfield
weight: 9
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_modal_yes_link:
type: link_default
weight: 3
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_modal_yes_text:
type: string_textfield
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.ui_suite_uswds_modal.field_modal_button_text
- field.field.paragraph.ui_suite_uswds_modal.field_modal_content
- field.field.paragraph.ui_suite_uswds_modal.field_modal_forced_action
- field.field.paragraph.ui_suite_uswds_modal.field_modal_large
- field.field.paragraph.ui_suite_uswds_modal.field_modal_no_link
- field.field.paragraph.ui_suite_uswds_modal.field_modal_no_text
- field.field.paragraph.ui_suite_uswds_modal.field_modal_title
- field.field.paragraph.ui_suite_uswds_modal.field_modal_yes_link
- field.field.paragraph.ui_suite_uswds_modal.field_modal_yes_text
- paragraphs.paragraphs_type.ui_suite_uswds_modal
module:
- link
- nomarkup
- options
- text
id: paragraph.ui_suite_uswds_modal.default
targetEntityType: paragraph
bundle: ui_suite_uswds_modal
mode: default
content:
field_modal_button_text:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings:
nomarkup:
enabled: true
separator: '|'
referenced_entity: ''
weight: 1
region: content
field_modal_content:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 8
region: content
field_modal_forced_action:
type: boolean
label: hidden
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 2
region: content
field_modal_large:
type: boolean
label: hidden
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 0
region: content
field_modal_no_link:
type: link_separate
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: '0'
target: '0'
third_party_settings:
nomarkup:
enabled: true
separator: '|'
referenced_entity: ''
weight: 6
region: content
field_modal_no_text:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings:
nomarkup:
enabled: true
separator: '|'
referenced_entity: ''
weight: 5
region: content
field_modal_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings:
nomarkup:
enabled: true
separator: '|'
referenced_entity: ''
weight: 7
region: content
field_modal_yes_link:
type: link_separate
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: '0'
target: '0'
third_party_settings:
nomarkup:
enabled: true
separator: '|'
referenced_entity: ''
weight: 4
region: content
field_modal_yes_text:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings:
nomarkup:
enabled: true
separator: '|'
referenced_entity: ''
weight: 3
region: content
hidden: { }
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_modal_button_text
- paragraphs.paragraphs_type.ui_suite_uswds_modal
id: paragraph.ui_suite_uswds_modal.field_modal_button_text
field_name: field_modal_button_text
entity_type: paragraph
bundle: ui_suite_uswds_modal
label: 'Button Text'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_modal_content
- paragraphs.paragraphs_type.ui_suite_uswds_modal
module:
- text
id: paragraph.ui_suite_uswds_modal.field_modal_content
field_name: field_modal_content
entity_type: paragraph
bundle: ui_suite_uswds_modal
label: Content
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_formats: { }
field_type: text_long
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_modal_forced_action
- paragraphs.paragraphs_type.ui_suite_uswds_modal
id: paragraph.ui_suite_uswds_modal.field_modal_forced_action
field_name: field_modal_forced_action
entity_type: paragraph
bundle: ui_suite_uswds_modal
label: 'Forced Action'
description: 'Hides the X button and forces user to select Yes/No buttons.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_modal_large
- paragraphs.paragraphs_type.ui_suite_uswds_modal
id: paragraph.ui_suite_uswds_modal.field_modal_large
field_name: field_modal_large
entity_type: paragraph
bundle: ui_suite_uswds_modal
label: Large
description: 'Should the modal appear "Large"'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_modal_no_link
- paragraphs.paragraphs_type.ui_suite_uswds_modal
module:
- link
id: paragraph.ui_suite_uswds_modal.field_modal_no_link
field_name: field_modal_no_link
entity_type: paragraph
bundle: ui_suite_uswds_modal
label: 'No link'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 0
link_type: 17
field_type: link
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_modal_no_text
- paragraphs.paragraphs_type.ui_suite_uswds_modal
id: paragraph.ui_suite_uswds_modal.field_modal_no_text
field_name: field_modal_no_text
entity_type: paragraph
bundle: ui_suite_uswds_modal
label: 'No text'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_modal_title
- paragraphs.paragraphs_type.ui_suite_uswds_modal
id: paragraph.ui_suite_uswds_modal.field_modal_title
field_name: field_modal_title
entity_type: paragraph
bundle: ui_suite_uswds_modal
label: Title
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_modal_yes_link
- paragraphs.paragraphs_type.ui_suite_uswds_modal
module:
- link
id: paragraph.ui_suite_uswds_modal.field_modal_yes_link
field_name: field_modal_yes_link
entity_type: paragraph
bundle: ui_suite_uswds_modal
label: 'Yes link'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 0
link_type: 17
field_type: link
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_modal_yes_text
- paragraphs.paragraphs_type.ui_suite_uswds_modal
id: paragraph.ui_suite_uswds_modal.field_modal_yes_text
field_name: field_modal_yes_text
entity_type: paragraph
bundle: ui_suite_uswds_modal
label: 'Yes text'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
langcode: en
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_modal_button_text
field_name: field_modal_button_text
entity_type: paragraph
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
langcode: en
status: true
dependencies:
module:
- paragraphs
- text
id: paragraph.field_modal_content
field_name: field_modal_content
entity_type: paragraph
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
langcode: en
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_modal_forced_action
field_name: field_modal_forced_action
entity_type: paragraph
type: boolean
settings: { }
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
langcode: en
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_modal_large
field_name: field_modal_large
entity_type: paragraph
type: boolean
settings: { }
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
langcode: en
status: true
dependencies:
module:
- link
- paragraphs
id: paragraph.field_modal_no_link
field_name: field_modal_no_link
entity_type: paragraph
type: link
settings: { }
module: link
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
langcode: en
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_modal_no_text
field_name: field_modal_no_text
entity_type: paragraph
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
langcode: en
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_modal_title
field_name: field_modal_title
entity_type: paragraph
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
langcode: en
status: true
dependencies:
module:
- link
- paragraphs
id: paragraph.field_modal_yes_link
field_name: field_modal_yes_link
entity_type: paragraph
type: link
settings: { }
module: link
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment