FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit ececceaa authored by Jenny Dumitrescu's avatar Jenny Dumitrescu
Browse files

Merge branch '46-notification-component' into 'main'

Adding notification component

See merge request !32
parents 3ca12125 12e3d56c
No related branches found
No related tags found
1 merge request!32Adding notification component
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.notification.field_notification_text
- field.field.paragraph.notification.field_notification_typ
- paragraphs.paragraphs_type.notification
module:
- maxlength
- text
id: paragraph.notification.default
targetEntityType: paragraph
bundle: notification
mode: default
content:
field_notification_text:
type: text_textarea
weight: 1
region: content
settings:
rows: 1
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: 150
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: true
field_notification_typ:
type: options_select
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.notification.field_notification_text
- field.field.paragraph.notification.field_notification_typ
- paragraphs.paragraphs_type.notification
module:
- options
- text
id: paragraph.notification.default
targetEntityType: paragraph
bundle: notification
mode: default
content:
field_notification_text:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 1
region: content
field_notification_typ:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 0
region: content
hidden: { }
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_notification_text
- filter.format.links_only
- paragraphs.paragraphs_type.notification
module:
- text
id: paragraph.notification.field_notification_text
field_name: field_notification_text
entity_type: paragraph
bundle: notification
label: 'Notification text'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_formats:
- links_only
field_type: text_long
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_notification_typ
- paragraphs.paragraphs_type.notification
module:
- options
id: paragraph.notification.field_notification_typ
field_name: field_notification_typ
entity_type: paragraph
bundle: notification
label: 'Notification type'
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string
langcode: en
status: true
dependencies:
module:
- paragraphs
- text
id: paragraph.field_notification_text
field_name: field_notification_text
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:
- options
- paragraphs
id: paragraph.field_notification_typ
field_name: field_notification_typ
entity_type: paragraph
type: list_string
settings:
allowed_values:
-
value: information
label: Information
-
value: warning
label: Warning
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
langcode: en
status: true
dependencies:
content:
- 'file:file:23fe2fa5-9f38-4e69-ba53-757ff2c1097c'
id: notification
label: Notification
icon_uuid: 23fe2fa5-9f38-4e69-ba53-757ff2c1097c
icon_default: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MiIgaGVpZ2h0PSI1MiIgZmlsbD0iIzAwMDAwMCIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0xMjgsMjRBMTA0LDEwNCwwLDEsMCwyMzIsMTI4LDEwNC4xMSwxMDQuMTEsMCwwLDAsMTI4LDI0Wm0wLDE5MmE4OCw4OCwwLDEsMSw4OC04OEE4OC4xLDg4LjEsMCwwLDEsMTI4LDIxNlptMTYtNDBhOCw4LDAsMCwxLTgsOCwxNiwxNiwwLDAsMS0xNi0xNlYxMjhhOCw4LDAsMCwxLDAtMTYsMTYsMTYsMCwwLDEsMTYsMTZ2NDBBOCw4LDAsMCwxLDE0NCwxNzZaTTExMiw4NGExMiwxMiwwLDEsMSwxMiwxMkExMiwxMiwwLDAsMSwxMTIsODRaIj48L3BhdGg+PC9zdmc+'
description: 'The notification component highlights information to the user that is important and shouldn’t be skipped. This could be information about other resources or a warning before proceeding for example.'
behavior_plugins: { }
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