Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1640 added custom banner block rd #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions config/sync/block.block.calltoactionblock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 24d98a23-839a-48c5-99cb-41e2e7480680
langcode: en
status: true
dependencies:
content:
- 'block_content:banner_block:80de2a59-4243-4b0c-b5bd-57deff808b0d'
module:
- block_content
theme:
- bartik
id: calltoactionblock
theme: bartik
region: content
weight: 0
provider: null
plugin: 'block_content:80de2a59-4243-4b0c-b5bd-57deff808b0d'
settings:
id: 'block_content:80de2a59-4243-4b0c-b5bd-57deff808b0d'
label: 'Call to Action Block'
provider: block_content
label_display: '0'
status: true
info: ''
view_mode: full
visibility: { }
8 changes: 8 additions & 0 deletions config/sync/block_content.type.banner_block.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
uuid: d8426b8b-c586-4195-b92d-92c54c2e770c
langcode: en
status: true
dependencies: { }
id: banner_block
label: 'Banner Block'
revision: 0
description: 'This is a banner block'
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
uuid: 5730513e-a762-4bec-be61-a77ccfc2eac4
langcode: en
status: true
dependencies:
config:
- block_content.type.banner_block
- field.field.block_content.banner_block.field_banner_message
- field.field.block_content.banner_block.field_button_link
- field.field.block_content.banner_block.field_icon
module:
- fontawesome
- link
id: block_content.banner_block.default
targetEntityType: block_content
bundle: banner_block
mode: default
content:
field_banner_message:
weight: 27
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
field_button_link:
weight: 29
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
type: link_default
region: content
field_icon:
weight: 28
settings: { }
third_party_settings: { }
type: fontawesome_icon_widget
region: content
info:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
uuid: cc4c4e98-dc69-4c75-9593-b0e874aa22a2
langcode: en
status: true
dependencies:
config:
- block_content.type.banner_block
- field.field.block_content.banner_block.field_banner_message
- field.field.block_content.banner_block.field_button_link
- field.field.block_content.banner_block.field_icon
module:
- fontawesome
- link
id: block_content.banner_block.default
targetEntityType: block_content
bundle: banner_block
mode: default
content:
field_banner_message:
weight: 0
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_button_link:
weight: 1
label: hidden
settings:
trim_length: 80
rel: nofollow
target: _blank
url_only: false
url_plain: false
third_party_settings: { }
type: link
region: content
field_icon:
weight: 2
label: hidden
settings:
layers: false
third_party_settings: { }
type: fontawesome_icon_formatter
region: content
hidden: { }
1 change: 1 addition & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module:
field_ui: 0
file: 0
filter: 0
fontawesome: 0
help: 0
history: 0
image: 0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 7e842491-7cc7-4700-8712-cd354c3944a5
langcode: en
status: true
dependencies:
config:
- block_content.type.banner_block
- field.storage.block_content.field_banner_message
id: block_content.banner_block.field_banner_message
field_name: field_banner_message
entity_type: block_content
bundle: banner_block
label: 'Banner Message'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: 1c1e5ed6-4f0b-46a2-ab75-585359602cbf
langcode: en
status: true
dependencies:
config:
- block_content.type.banner_block
- field.storage.block_content.field_button_link
module:
- link
id: block_content.banner_block.field_button_link
field_name: field_button_link
entity_type: block_content
bundle: banner_block
label: 'Button Link'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
link_type: 17
title: 1
field_type: link
21 changes: 21 additions & 0 deletions config/sync/field.field.block_content.banner_block.field_icon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: d8aa679c-3f44-44c5-b503-0e39fd7acc4e
langcode: en
status: true
dependencies:
config:
- block_content.type.banner_block
- field.storage.block_content.field_icon
module:
- fontawesome
id: block_content.banner_block.field_icon
field_name: field_icon
entity_type: block_content
bundle: banner_block
label: Icon
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: fontawesome_icon
21 changes: 21 additions & 0 deletions config/sync/field.storage.block_content.field_banner_message.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 10bac58f-eb6d-479a-b916-4a7e1cc1f6d6
langcode: en
status: true
dependencies:
module:
- block_content
id: block_content.field_banner_message
field_name: field_banner_message
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
19 changes: 19 additions & 0 deletions config/sync/field.storage.block_content.field_button_link.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 78fea17c-2a80-4d13-acea-b822fc1ca0a3
langcode: en
status: true
dependencies:
module:
- block_content
- link
id: block_content.field_button_link
field_name: field_button_link
entity_type: block_content
type: link
settings: { }
module: link
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
19 changes: 19 additions & 0 deletions config/sync/field.storage.block_content.field_icon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 93029741-7cf9-44a3-b037-9f0b1dcf1a16
langcode: en
status: true
dependencies:
module:
- block_content
- fontawesome
id: block_content.field_icon
field_name: field_icon
entity_type: block_content
type: fontawesome_icon
settings: { }
module: fontawesome
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
12 changes: 12 additions & 0 deletions config/sync/fontawesome.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
tag: i
method: svg
use_cdn: true
external_svg_location: 'https://use.fontawesome.com/releases/v5.7.2/js/all.js'
use_shim: true
external_shim_location: 'https://use.fontawesome.com/releases/v5.7.2/js/v4-shims.js'
use_solid_file: true
use_regular_file: true
use_light_file: true
use_brands_file: true
_core:
default_config_hash: C_9-AFBeSZng5OomWyV0GUkE19MPXHF6mp1_4LBH9WQ