Export recommendation block config

References #146
This commit is contained in:
Oliver Davies 2020-07-15 18:51:55 +01:00
parent d26bd23d70
commit 1e2183caae
8 changed files with 234 additions and 0 deletions

View file

@ -0,0 +1,8 @@
uuid: 85d8f24d-3125-4aa8-8961-be2a7c8c54d3
langcode: en
status: true
dependencies: { }
id: recommendation
label: Recommendation
revision: 1
description: ''

View file

@ -0,0 +1,53 @@
uuid: 0fa46b49-f610-49bc-b524-f24dec618426
langcode: en
status: true
dependencies:
config:
- block_content.type.recommendation
- field.field.block_content.recommendation.body
- field.field.block_content.recommendation.field_photo
- field.field.block_content.recommendation.field_role
- image.style.thumbnail
module:
- image
- text
id: block_content.recommendation.default
targetEntityType: block_content
bundle: recommendation
mode: default
content:
body:
type: text_textarea_with_summary
weight: 4
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
region: content
field_photo:
weight: 1
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
type: image_image
region: content
field_role:
weight: 2
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
info:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }

View file

@ -0,0 +1,42 @@
uuid: 60c9b2c7-c8b8-4236-bc1f-37cfd574b28a
langcode: en
status: true
dependencies:
config:
- block_content.type.recommendation
- field.field.block_content.recommendation.body
- field.field.block_content.recommendation.field_photo
- field.field.block_content.recommendation.field_role
module:
- image
- text
id: block_content.recommendation.default
targetEntityType: block_content
bundle: recommendation
mode: default
content:
body:
label: hidden
type: text_default
weight: 2
settings: { }
third_party_settings: { }
region: content
field_photo:
weight: 3
label: hidden
settings:
image_style: ''
image_link: ''
third_party_settings: { }
type: image
region: content
field_role:
weight: 0
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
hidden: { }

View file

@ -0,0 +1,23 @@
uuid: a7e0b0e1-d8d8-4f31-90a6-797294a41b68
langcode: en
status: true
dependencies:
config:
- block_content.type.recommendation
- field.storage.block_content.body
module:
- text
id: block_content.recommendation.body
field_name: body
entity_type: block_content
bundle: recommendation
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: false
required_summary: false
field_type: text_with_summary

View file

@ -0,0 +1,38 @@
uuid: ebd08202-8447-43f0-aac0-87a89afa836d
langcode: en
status: true
dependencies:
config:
- block_content.type.recommendation
- field.storage.block_content.field_photo
module:
- image
id: block_content.recommendation.field_photo
field_name: field_photo
entity_type: block_content
bundle: recommendation
label: Photo
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
handler: 'default:file'
handler_settings: { }
field_type: image

View file

@ -0,0 +1,19 @@
uuid: bd5404cd-7a55-48e9-8658-a7d539933c49
langcode: en
status: true
dependencies:
config:
- block_content.type.recommendation
- field.storage.block_content.field_role
id: block_content.recommendation.field_role
field_name: field_role
entity_type: block_content
bundle: recommendation
label: Role
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View file

@ -0,0 +1,30 @@
uuid: e347f84f-c9cf-4edb-ac2c-ebf8ace7f61a
langcode: en
status: true
dependencies:
module:
- block_content
- file
- image
id: block_content.field_photo
field_name: field_photo
entity_type: block_content
type: image
settings:
uri_scheme: public
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
target_type: file
display_field: false
display_default: false
module: image
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View file

@ -0,0 +1,21 @@
uuid: 08b282e5-54fa-4f95-9cbf-d645bb96139f
langcode: en
status: true
dependencies:
module:
- block_content
id: block_content.field_role
field_name: field_role
entity_type: block_content
type: string
settings:
max_length: 255
is_ascii: false
case_sensitive: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false