Adding components.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
uuid: 62221ff8-bff9-4615-b8b1-b5387c5c5fb8
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: ping_pong
|
||||
label: 'Ping Pong'
|
||||
revision: false
|
||||
description: 'A ping pong component.'
|
||||
@@ -0,0 +1,66 @@
|
||||
uuid: cec1a040-81f5-465e-93b0-7f8c1b329a3b
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.field.block_content.ping_pong.field_ping_pong_background_color
|
||||
- field.field.block_content.ping_pong.field_ping_pong_body
|
||||
- field.field.block_content.ping_pong.field_ping_pong_cta
|
||||
- field.field.block_content.ping_pong.field_ping_pong_layout
|
||||
- field.field.block_content.ping_pong.field_ping_pong_media_alignment
|
||||
- field.field.block_content.ping_pong.field_ping_pong_media_items
|
||||
module:
|
||||
- color_field
|
||||
- link
|
||||
- media_library
|
||||
- text
|
||||
id: block_content.ping_pong.default
|
||||
targetEntityType: block_content
|
||||
bundle: ping_pong
|
||||
mode: default
|
||||
content:
|
||||
field_ping_pong_background_color:
|
||||
type: color_field_widget_box
|
||||
weight: 1
|
||||
region: content
|
||||
settings:
|
||||
default_colors: '#ac725e,#d06b64,#f83a22,#fa573c,#ff7537,#ffad46,#42d692,#16a765,#7bd148,#b3dc6c,#fbe983'
|
||||
third_party_settings: { }
|
||||
field_ping_pong_body:
|
||||
type: text_textarea
|
||||
weight: 5
|
||||
region: content
|
||||
settings:
|
||||
rows: 5
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
field_ping_pong_cta:
|
||||
type: link_default
|
||||
weight: 26
|
||||
region: content
|
||||
settings:
|
||||
placeholder_url: ''
|
||||
placeholder_title: ''
|
||||
third_party_settings: { }
|
||||
field_ping_pong_layout:
|
||||
type: options_select
|
||||
weight: 2
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_ping_pong_media_alignment:
|
||||
type: options_select
|
||||
weight: 3
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_ping_pong_media_items:
|
||||
type: media_library_widget
|
||||
weight: 4
|
||||
region: content
|
||||
settings:
|
||||
media_types: { }
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
info: true
|
||||
@@ -0,0 +1,75 @@
|
||||
uuid: ed5314c0-a437-46a6-8f0a-8a09370c01b2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.field.block_content.ping_pong.field_ping_pong_background_color
|
||||
- field.field.block_content.ping_pong.field_ping_pong_body
|
||||
- field.field.block_content.ping_pong.field_ping_pong_cta
|
||||
- field.field.block_content.ping_pong.field_ping_pong_layout
|
||||
- field.field.block_content.ping_pong.field_ping_pong_media_alignment
|
||||
- field.field.block_content.ping_pong.field_ping_pong_media_items
|
||||
module:
|
||||
- color_field
|
||||
- link
|
||||
- options
|
||||
- text
|
||||
id: block_content.ping_pong.default
|
||||
targetEntityType: block_content
|
||||
bundle: ping_pong
|
||||
mode: default
|
||||
content:
|
||||
field_ping_pong_background_color:
|
||||
type: color_field_formatter_text
|
||||
label: hidden
|
||||
settings:
|
||||
format: hex
|
||||
opacity: true
|
||||
third_party_settings: { }
|
||||
weight: 5
|
||||
region: content
|
||||
field_ping_pong_body:
|
||||
type: text_default
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 6
|
||||
region: content
|
||||
field_ping_pong_cta:
|
||||
type: link
|
||||
label: hidden
|
||||
settings:
|
||||
trim_length: 80
|
||||
url_only: false
|
||||
url_plain: false
|
||||
rel: ''
|
||||
target: ''
|
||||
third_party_settings: { }
|
||||
weight: 11
|
||||
region: content
|
||||
field_ping_pong_layout:
|
||||
type: list_default
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 8
|
||||
region: content
|
||||
field_ping_pong_media_alignment:
|
||||
type: list_default
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 9
|
||||
region: content
|
||||
field_ping_pong_media_items:
|
||||
type: entity_reference_entity_view
|
||||
label: hidden
|
||||
settings:
|
||||
view_mode: ping_pong
|
||||
link: false
|
||||
third_party_settings: { }
|
||||
weight: 10
|
||||
region: content
|
||||
hidden:
|
||||
search_api_excerpt: true
|
||||
@@ -0,0 +1,40 @@
|
||||
uuid: ad80e641-9853-4131-9802-0394aa966e30
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.media.ping_pong
|
||||
- field.field.media.image.field_media_image
|
||||
- image.style.large
|
||||
- media.type.image
|
||||
module:
|
||||
- image
|
||||
- layout_builder
|
||||
third_party_settings:
|
||||
layout_builder:
|
||||
enabled: false
|
||||
allow_custom: false
|
||||
_core:
|
||||
default_config_hash: 73xaTNkI5J6sfFcBmNYeuk070X3mQS_iwwWaPYyfG2M
|
||||
id: media.image.ping_pong
|
||||
targetEntityType: media
|
||||
bundle: image
|
||||
mode: ping_pong
|
||||
content:
|
||||
field_media_image:
|
||||
type: image
|
||||
label: visually_hidden
|
||||
settings:
|
||||
image_link: ''
|
||||
image_style: large
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 1
|
||||
region: content
|
||||
hidden:
|
||||
created: true
|
||||
name: true
|
||||
search_api_excerpt: true
|
||||
thumbnail: true
|
||||
uid: true
|
||||
@@ -0,0 +1,42 @@
|
||||
uuid: fd852e6e-b857-45f5-9ff9-125ab5611d51
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.media.ping_pong
|
||||
- field.field.media.video.field_media_video_file
|
||||
- media.type.video
|
||||
module:
|
||||
- file
|
||||
- layout_builder
|
||||
third_party_settings:
|
||||
layout_builder:
|
||||
enabled: false
|
||||
allow_custom: false
|
||||
_core:
|
||||
default_config_hash: SxvbuGh-6cQMxl9bBV27-hGI46u7ZvwlMm5ObaJMNnw
|
||||
id: media.video.ping_pong
|
||||
targetEntityType: media
|
||||
bundle: video
|
||||
mode: ping_pong
|
||||
content:
|
||||
field_media_video_file:
|
||||
type: file_video
|
||||
label: visually_hidden
|
||||
settings:
|
||||
controls: true
|
||||
autoplay: false
|
||||
loop: false
|
||||
multiple_file_display_type: tags
|
||||
muted: false
|
||||
width: 640
|
||||
height: 480
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
hidden:
|
||||
created: true
|
||||
name: true
|
||||
search_api_excerpt: true
|
||||
thumbnail: true
|
||||
uid: true
|
||||
@@ -0,0 +1,11 @@
|
||||
uuid: 3907b7a9-1d74-4907-bcd5-ec4cc1071ed2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- media
|
||||
id: media.ping_pong
|
||||
label: 'Ping Pong'
|
||||
description: ''
|
||||
targetEntityType: media
|
||||
cache: true
|
||||
@@ -0,0 +1,22 @@
|
||||
uuid: 31cd8a2a-3bdf-43cd-9a64-43282c7e94be
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.storage.block_content.field_ping_pong_background_color
|
||||
module:
|
||||
- color_field
|
||||
id: block_content.ping_pong.field_ping_pong_background_color
|
||||
field_name: field_ping_pong_background_color
|
||||
entity_type: block_content
|
||||
bundle: ping_pong
|
||||
label: 'Ping Pong Background Color'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
opacity: 0
|
||||
field_type: color_field_type
|
||||
@@ -0,0 +1,22 @@
|
||||
uuid: 943e8d34-238f-4de9-9196-87ed7785bf74
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.storage.block_content.field_ping_pong_body
|
||||
module:
|
||||
- text
|
||||
id: block_content.ping_pong.field_ping_pong_body
|
||||
field_name: field_ping_pong_body
|
||||
entity_type: block_content
|
||||
bundle: ping_pong
|
||||
label: 'Ping Pong Body'
|
||||
description: 'The body text of the ping pong.'
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
allowed_formats: { }
|
||||
field_type: text_long
|
||||
@@ -0,0 +1,23 @@
|
||||
uuid: 03279c7a-a355-4a6e-b9ad-b6c051d97963
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.storage.block_content.field_ping_pong_cta
|
||||
module:
|
||||
- link
|
||||
id: block_content.ping_pong.field_ping_pong_cta
|
||||
field_name: field_ping_pong_cta
|
||||
entity_type: block_content
|
||||
bundle: ping_pong
|
||||
label: 'Ping Pong CTA'
|
||||
description: 'CTA Link for the ping pong item.'
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
title: 1
|
||||
link_type: 17
|
||||
field_type: link
|
||||
@@ -0,0 +1,21 @@
|
||||
uuid: 71d04346-f3b6-4b11-ac4f-98cd5ad14b35
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.storage.block_content.field_ping_pong_layout
|
||||
module:
|
||||
- options
|
||||
id: block_content.ping_pong.field_ping_pong_layout
|
||||
field_name: field_ping_pong_layout
|
||||
entity_type: block_content
|
||||
bundle: ping_pong
|
||||
label: 'Ping Pong Layout'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: list_string
|
||||
@@ -0,0 +1,21 @@
|
||||
uuid: 00c6c95a-5f80-45c8-ab83-deecd252ce32
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.storage.block_content.field_ping_pong_media_alignment
|
||||
module:
|
||||
- options
|
||||
id: block_content.ping_pong.field_ping_pong_media_alignment
|
||||
field_name: field_ping_pong_media_alignment
|
||||
entity_type: block_content
|
||||
bundle: ping_pong
|
||||
label: 'Ping Pong Media Alignment'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: list_string
|
||||
@@ -0,0 +1,31 @@
|
||||
uuid: 207b28f1-37af-4c91-9cb1-d75d76ab2277
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.storage.block_content.field_ping_pong_media_items
|
||||
- media.type.image
|
||||
- media.type.video
|
||||
id: block_content.ping_pong.field_ping_pong_media_items
|
||||
field_name: field_ping_pong_media_items
|
||||
entity_type: block_content
|
||||
bundle: ping_pong
|
||||
label: 'Ping Pong Media Items'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:media'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
image: image
|
||||
video: video
|
||||
sort:
|
||||
field: _none
|
||||
direction: ASC
|
||||
auto_create: false
|
||||
auto_create_bundle: image
|
||||
field_type: entity_reference
|
||||
@@ -0,0 +1,20 @@
|
||||
uuid: 2c91aadc-de94-4014-80b0-0165cb294d7e
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- color_field
|
||||
id: block_content.field_ping_pong_background_color
|
||||
field_name: field_ping_pong_background_color
|
||||
entity_type: block_content
|
||||
type: color_field_type
|
||||
settings:
|
||||
format: '#HEXHEX'
|
||||
module: color_field
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,19 @@
|
||||
uuid: 251a77bd-a105-4525-b528-0d1acdb5dea0
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- text
|
||||
id: block_content.field_ping_pong_body
|
||||
field_name: field_ping_pong_body
|
||||
entity_type: block_content
|
||||
type: text_long
|
||||
settings: { }
|
||||
module: text
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,19 @@
|
||||
uuid: 5f9b0f7a-f3ed-4b92-9558-d02846914aff
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- link
|
||||
id: block_content.field_ping_pong_cta
|
||||
field_name: field_ping_pong_cta
|
||||
entity_type: block_content
|
||||
type: link
|
||||
settings: { }
|
||||
module: link
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,36 @@
|
||||
uuid: cb0cf63f-b12d-42a4-9ad8-151a6b45e5c4
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- options
|
||||
id: block_content.field_ping_pong_layout
|
||||
field_name: field_ping_pong_layout
|
||||
entity_type: block_content
|
||||
type: list_string
|
||||
settings:
|
||||
allowed_values:
|
||||
-
|
||||
value: '50_50'
|
||||
label: 50-50
|
||||
-
|
||||
value: '67_33'
|
||||
label: 67-33
|
||||
-
|
||||
value: '33_67'
|
||||
label: 33-67
|
||||
-
|
||||
value: '25_75'
|
||||
label: 25-75
|
||||
-
|
||||
value: '75_25'
|
||||
label: 75-25
|
||||
allowed_values_function: ''
|
||||
module: options
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,27 @@
|
||||
uuid: 5aad3453-4210-45e5-a891-949efed0792c
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- options
|
||||
id: block_content.field_ping_pong_media_alignment
|
||||
field_name: field_ping_pong_media_alignment
|
||||
entity_type: block_content
|
||||
type: list_string
|
||||
settings:
|
||||
allowed_values:
|
||||
-
|
||||
value: left
|
||||
label: Left
|
||||
-
|
||||
value: right
|
||||
label: Right
|
||||
allowed_values_function: ''
|
||||
module: options
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,20 @@
|
||||
uuid: ced369f0-c81f-44c2-9715-c80f73ba58ae
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- media
|
||||
id: block_content.field_ping_pong_media_items
|
||||
field_name: field_ping_pong_media_items
|
||||
entity_type: block_content
|
||||
type: entity_reference
|
||||
settings:
|
||||
target_type: media
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: -1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
Reference in New Issue
Block a user