-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #749 from sarongebre/media-block-704
Simple Media block 704
- Loading branch information
Showing
170 changed files
with
2,598 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
uuid: e92dfd42-bda9-467d-b7c6-86f9a7d7af5d | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: simple_media | ||
label: 'Simple media ' | ||
revision: 1 | ||
description: 'A block that allows the addition of images, remote videos, and more.' |
84 changes: 84 additions & 0 deletions
84
config/sync/core.entity_form_display.block_content.simple_media.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
uuid: 286d8119-9e06-47ae-bf58-305e7a8058f1 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- block_content.type.simple_media | ||
- field.field.block_content.simple_media.b_simple_media_animation | ||
- field.field.block_content.simple_media.b_simple_media_aspect_ratio | ||
- field.field.block_content.simple_media.b_simple_media_frame_or_shadow | ||
- field.field.block_content.simple_media.b_simple_media_media | ||
- field.field.block_content.simple_media.b_simple_media_shadow_position | ||
- field.field.block_content.simple_media.b_simple_media_shadow_style | ||
module: | ||
- field_group | ||
- media_library | ||
third_party_settings: | ||
field_group: | ||
group_media_style: | ||
children: | ||
- b_simple_media_frame_or_shadow | ||
- b_simple_media_shadow_position | ||
- b_simple_media_shadow_style | ||
label: Style | ||
region: content | ||
parent_name: '' | ||
weight: 4 | ||
format_type: fieldset | ||
format_settings: | ||
classes: '' | ||
show_empty_fields: false | ||
id: '' | ||
description: '' | ||
required_fields: true | ||
id: block_content.simple_media.default | ||
targetEntityType: block_content | ||
bundle: simple_media | ||
mode: default | ||
content: | ||
b_simple_media_animation: | ||
type: options_select | ||
weight: 5 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
b_simple_media_aspect_ratio: | ||
type: options_select | ||
weight: 3 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
b_simple_media_frame_or_shadow: | ||
type: options_select | ||
weight: 26 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
b_simple_media_media: | ||
type: media_library_widget | ||
weight: 1 | ||
region: content | ||
settings: | ||
media_types: { } | ||
third_party_settings: { } | ||
b_simple_media_shadow_position: | ||
type: options_select | ||
weight: 28 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
b_simple_media_shadow_style: | ||
type: options_select | ||
weight: 29 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
info: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
hidden: { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -531,4 +531,5 @@ content: | |
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: { } | ||
hidden: | ||
entitygroupfield: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -228,4 +228,5 @@ content: | |
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: { } | ||
hidden: | ||
entitygroupfield: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
config/sync/core.entity_view_display.block_content.simple_media.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
uuid: c9a3c43d-b04e-4b54-8202-ac05d3797fb5 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- block_content.type.simple_media | ||
- field.field.block_content.simple_media.b_simple_media_animation | ||
- field.field.block_content.simple_media.b_simple_media_aspect_ratio | ||
- field.field.block_content.simple_media.b_simple_media_frame_or_shadow | ||
- field.field.block_content.simple_media.b_simple_media_media | ||
- field.field.block_content.simple_media.b_simple_media_shadow_position | ||
- field.field.block_content.simple_media.b_simple_media_shadow_style | ||
module: | ||
- options | ||
id: block_content.simple_media.default | ||
targetEntityType: block_content | ||
bundle: simple_media | ||
mode: default | ||
content: | ||
b_simple_media_animation: | ||
type: list_key | ||
label: hidden | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 11 | ||
region: content | ||
b_simple_media_aspect_ratio: | ||
type: list_key | ||
label: hidden | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 12 | ||
region: content | ||
b_simple_media_frame_or_shadow: | ||
type: list_key | ||
label: hidden | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 10 | ||
region: content | ||
b_simple_media_media: | ||
type: entity_reference_entity_view | ||
label: hidden | ||
settings: | ||
view_mode: 16x9 | ||
link: false | ||
third_party_settings: { } | ||
weight: 6 | ||
region: content | ||
b_simple_media_shadow_position: | ||
type: list_key | ||
label: hidden | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 8 | ||
region: content | ||
b_simple_media_shadow_style: | ||
type: list_key | ||
label: hidden | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 9 | ||
region: content | ||
hidden: { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
uuid: 1e481b71-b6f7-46e2-a9de-0708d04a0f9d | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.media.16x9 | ||
- field.field.media.image.field_media_image | ||
- field.field.media.image.s_m_file_size | ||
- field.field.media.image.s_m_height | ||
- field.field.media.image.s_m_mime_type | ||
- field.field.media.image.s_m_tags | ||
- field.field.media.image.s_m_width | ||
- media.type.image | ||
- responsive_image.styles.16x9_ris | ||
module: | ||
- dcf_lazyload | ||
- image_class | ||
- layout_builder | ||
- svg_image_responsive | ||
third_party_settings: | ||
layout_builder: | ||
enabled: false | ||
allow_custom: false | ||
_core: | ||
default_config_hash: K_3BWtYOHRwzf56LnqcZgduecDmBjet77Iq6J5x8lw4 | ||
id: media.image.16x9 | ||
targetEntityType: media | ||
bundle: image | ||
mode: 16x9 | ||
content: | ||
field_media_image: | ||
type: responsive_image | ||
label: hidden | ||
settings: | ||
responsive_image_style: 16x9_ris | ||
image_link: '' | ||
svg_attributes: | ||
width: null | ||
height: null | ||
svg_render_as_image: true | ||
third_party_settings: | ||
image_class: | ||
class: '' | ||
dcf_lazyload: | ||
dcf_lazyload_enable: false | ||
weight: 0 | ||
region: content | ||
hidden: | ||
created: true | ||
name: true | ||
s_m_file_size: true | ||
s_m_height: true | ||
s_m_mime_type: true | ||
s_m_tags: true | ||
s_m_width: true | ||
thumbnail: true | ||
uid: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
uuid: 19eef252-c1e4-4ca6-9d02-410e7beb033d | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.media.1x1 | ||
- field.field.media.image.field_media_image | ||
- field.field.media.image.s_m_file_size | ||
- field.field.media.image.s_m_height | ||
- field.field.media.image.s_m_mime_type | ||
- field.field.media.image.s_m_tags | ||
- field.field.media.image.s_m_width | ||
- media.type.image | ||
- responsive_image.styles.1x1_ris | ||
module: | ||
- dcf_lazyload | ||
- image_class | ||
- layout_builder | ||
- svg_image_responsive | ||
third_party_settings: | ||
layout_builder: | ||
enabled: false | ||
allow_custom: false | ||
_core: | ||
default_config_hash: K_3BWtYOHRwzf56LnqcZgduecDmBjet77Iq6J5x8lw4 | ||
id: media.image.1x1 | ||
targetEntityType: media | ||
bundle: image | ||
mode: 1x1 | ||
content: | ||
field_media_image: | ||
type: responsive_image | ||
label: hidden | ||
settings: | ||
responsive_image_style: 1x1_ris | ||
image_link: '' | ||
svg_attributes: | ||
width: null | ||
height: null | ||
svg_render_as_image: true | ||
third_party_settings: | ||
image_class: | ||
class: '' | ||
dcf_lazyload: | ||
dcf_lazyload_enable: false | ||
weight: 0 | ||
region: content | ||
hidden: | ||
created: true | ||
name: true | ||
s_m_file_size: true | ||
s_m_height: true | ||
s_m_mime_type: true | ||
s_m_tags: true | ||
s_m_width: true | ||
thumbnail: true | ||
uid: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
uuid: e61df3a5-60e3-49e0-ab9d-c7c1119bd0e7 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.media.4x3 | ||
- field.field.media.image.field_media_image | ||
- field.field.media.image.s_m_file_size | ||
- field.field.media.image.s_m_height | ||
- field.field.media.image.s_m_mime_type | ||
- field.field.media.image.s_m_tags | ||
- field.field.media.image.s_m_width | ||
- media.type.image | ||
- responsive_image.styles.4x3_ris | ||
module: | ||
- dcf_lazyload | ||
- image_class | ||
- layout_builder | ||
- svg_image_responsive | ||
third_party_settings: | ||
layout_builder: | ||
enabled: false | ||
allow_custom: false | ||
_core: | ||
default_config_hash: K_3BWtYOHRwzf56LnqcZgduecDmBjet77Iq6J5x8lw4 | ||
id: media.image.4x3 | ||
targetEntityType: media | ||
bundle: image | ||
mode: 4x3 | ||
content: | ||
field_media_image: | ||
type: responsive_image | ||
label: hidden | ||
settings: | ||
responsive_image_style: 4x3_ris | ||
image_link: '' | ||
svg_attributes: | ||
width: null | ||
height: null | ||
svg_render_as_image: true | ||
third_party_settings: | ||
image_class: | ||
class: '' | ||
dcf_lazyload: | ||
dcf_lazyload_enable: false | ||
weight: 0 | ||
region: content | ||
hidden: | ||
created: true | ||
name: true | ||
s_m_file_size: true | ||
s_m_height: true | ||
s_m_mime_type: true | ||
s_m_tags: true | ||
s_m_width: true | ||
thumbnail: true | ||
uid: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,5 @@ content: | |
weight: 0 | ||
region: content | ||
hidden: | ||
entitygroupfield: true | ||
s_n_page_options: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,5 @@ content: | |
region: content | ||
hidden: | ||
archive_page_body: true | ||
entitygroupfield: true | ||
s_n_page_options: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.