diff --git a/config/sync/block.block.testbannerblock.yml b/config/sync/block.block.testbannerblock.yml new file mode 100644 index 000000000..458506ead --- /dev/null +++ b/config/sync/block.block.testbannerblock.yml @@ -0,0 +1,25 @@ +uuid: 49215957-f6b0-4275-b43f-9d52c5c4be0b +langcode: en +status: true +dependencies: + content: + - 'block_content:banner_block:09e54aea-53af-498e-b50a-71a9ed1f7eee' + module: + - block_content + theme: + - bartik +id: testbannerblock +theme: bartik +region: featured_top +weight: 0 +provider: null +plugin: 'block_content:09e54aea-53af-498e-b50a-71a9ed1f7eee' +settings: + id: 'block_content:09e54aea-53af-498e-b50a-71a9ed1f7eee' + label: 'Test Banner Block' + provider: block_content + label_display: '0' + status: true + info: '' + view_mode: full +visibility: { } diff --git a/config/sync/block_content.type.banner_block.yml b/config/sync/block_content.type.banner_block.yml new file mode 100644 index 000000000..3f6961dc4 --- /dev/null +++ b/config/sync/block_content.type.banner_block.yml @@ -0,0 +1,8 @@ +uuid: d810ab1d-93d4-4a53-b5cf-2670006dc930 +langcode: en +status: true +dependencies: { } +id: banner_block +label: 'Banner Block' +revision: 0 +description: 'Large banner with a title and link.' diff --git a/config/sync/core.entity_form_display.block_content.banner_block.default.yml b/config/sync/core.entity_form_display.block_content.banner_block.default.yml new file mode 100644 index 000000000..4ae58ff15 --- /dev/null +++ b/config/sync/core.entity_form_display.block_content.banner_block.default.yml @@ -0,0 +1,52 @@ +uuid: 3d2f964f-0e73-4e8f-b722-ae1f8a655655 +langcode: en +status: true +dependencies: + config: + - block_content.type.banner_block + - field.field.block_content.banner_block.field_background_image + - field.field.block_content.banner_block.field_button + - field.field.block_content.banner_block.field_title + - image.style.thumbnail + module: + - image + - link + - text +id: block_content.banner_block.default +targetEntityType: block_content +bundle: banner_block +mode: default +content: + field_background_image: + weight: 3 + settings: + progress_indicator: throbber + preview_image_style: thumbnail + third_party_settings: { } + type: image_image + region: content + field_button: + weight: 1 + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + type: link_default + region: content + field_title: + weight: 0 + settings: + size: 60 + placeholder: '' + third_party_settings: { } + type: text_textfield + region: content + info: + type: string_textfield + weight: 2 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: { } diff --git a/config/sync/core.entity_view_display.block_content.banner_block.default.yml b/config/sync/core.entity_view_display.block_content.banner_block.default.yml new file mode 100644 index 000000000..c40256187 --- /dev/null +++ b/config/sync/core.entity_view_display.block_content.banner_block.default.yml @@ -0,0 +1,47 @@ +uuid: f217f4d8-5da5-489d-b2e2-d70952b2c577 +langcode: en +status: true +dependencies: + config: + - block_content.type.banner_block + - field.field.block_content.banner_block.field_background_image + - field.field.block_content.banner_block.field_button + - field.field.block_content.banner_block.field_title + module: + - image + - link + - text +id: block_content.banner_block.default +targetEntityType: block_content +bundle: banner_block +mode: default +content: + field_background_image: + weight: 2 + label: above + settings: + image_style: '' + image_link: '' + third_party_settings: { } + type: image + region: content + field_button: + weight: 1 + label: hidden + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + type: link + region: content + field_title: + weight: 0 + label: hidden + settings: { } + third_party_settings: { } + type: text_default + region: content +hidden: { } diff --git a/config/sync/field.field.block_content.banner_block.field_background_image.yml b/config/sync/field.field.block_content.banner_block.field_background_image.yml new file mode 100644 index 000000000..088e3368f --- /dev/null +++ b/config/sync/field.field.block_content.banner_block.field_background_image.yml @@ -0,0 +1,38 @@ +uuid: c5512a45-d0d0-4015-820e-41417369be7d +langcode: en +status: true +dependencies: + config: + - block_content.type.banner_block + - field.storage.block_content.field_background_image + module: + - image +id: block_content.banner_block.field_background_image +field_name: field_background_image +entity_type: block_content +bundle: banner_block +label: 'Background Image' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + file_extensions: 'png gif jpg jpeg' + alt_field: true + alt_field_required: true + title_field: false + title_field_required: false + max_resolution: '' + min_resolution: '' + default_image: + uuid: null + alt: '' + title: '' + width: null + height: null + file_directory: '[date:custom:Y]-[date:custom:m]' + max_filesize: '' + handler: 'default:file' + handler_settings: { } +field_type: image diff --git a/config/sync/field.field.block_content.banner_block.field_button.yml b/config/sync/field.field.block_content.banner_block.field_button.yml new file mode 100644 index 000000000..1961d0028 --- /dev/null +++ b/config/sync/field.field.block_content.banner_block.field_button.yml @@ -0,0 +1,23 @@ +uuid: 1a8ed210-d7fb-4763-b500-e98c934a5c65 +langcode: en +status: true +dependencies: + config: + - block_content.type.banner_block + - field.storage.block_content.field_button + module: + - link +id: block_content.banner_block.field_button +field_name: field_button +entity_type: block_content +bundle: banner_block +label: Button +description: 'Contact me button.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + link_type: 17 + title: 2 +field_type: link diff --git a/config/sync/field.field.block_content.banner_block.field_title.yml b/config/sync/field.field.block_content.banner_block.field_title.yml new file mode 100644 index 000000000..8dabec099 --- /dev/null +++ b/config/sync/field.field.block_content.banner_block.field_title.yml @@ -0,0 +1,24 @@ +uuid: a0cd902c-921f-464e-bd73-78ca04973135 +langcode: en +status: true +dependencies: + config: + - block_content.type.banner_block + - field.storage.block_content.field_title + module: + - text +id: block_content.banner_block.field_title +field_name: field_title +entity_type: block_content +bundle: banner_block +label: Title +description: 'Banner title.' +required: true +translatable: false +default_value: + - + value: 'Call to Action; Hire me!' + format: full_html +default_value_callback: '' +settings: { } +field_type: text diff --git a/config/sync/field.storage.block_content.field_background_image.yml b/config/sync/field.storage.block_content.field_background_image.yml new file mode 100644 index 000000000..4ee97661d --- /dev/null +++ b/config/sync/field.storage.block_content.field_background_image.yml @@ -0,0 +1,30 @@ +uuid: 61fba826-bad3-43a3-a6bb-46639a217c42 +langcode: en +status: true +dependencies: + module: + - block_content + - file + - image +id: block_content.field_background_image +field_name: field_background_image +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 diff --git a/config/sync/field.storage.block_content.field_button.yml b/config/sync/field.storage.block_content.field_button.yml new file mode 100644 index 000000000..c30b83ee7 --- /dev/null +++ b/config/sync/field.storage.block_content.field_button.yml @@ -0,0 +1,19 @@ +uuid: 16210927-6ba9-40cd-b114-5d51d6e1a5c6 +langcode: en +status: true +dependencies: + module: + - block_content + - link +id: block_content.field_button +field_name: field_button +entity_type: block_content +type: link +settings: { } +module: link +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.block_content.field_title.yml b/config/sync/field.storage.block_content.field_title.yml new file mode 100644 index 000000000..4346a587f --- /dev/null +++ b/config/sync/field.storage.block_content.field_title.yml @@ -0,0 +1,20 @@ +uuid: 48b01115-35fa-44ad-b60d-631ac3c9a2b9 +langcode: en +status: true +dependencies: + module: + - block_content + - text +id: block_content.field_title +field_name: field_title +entity_type: block_content +type: text +settings: + max_length: 100 +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false