new block type logo-link
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
uuid: 6d872bd0-154d-499f-b2b3-4e5329e74a73
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: logo_link
|
||||
label: 'logo link'
|
||||
revision: false
|
||||
description: null
|
||||
@@ -0,0 +1,49 @@
|
||||
uuid: cc1141d6-5782-432c-9102-8a4b4918fff4
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.logo_link
|
||||
- field.field.block_content.logo_link.field_lien
|
||||
- field.field.block_content.logo_link.field_logo
|
||||
- image.style.thumbnail
|
||||
module:
|
||||
- image
|
||||
- link
|
||||
id: block_content.logo_link.default
|
||||
targetEntityType: block_content
|
||||
bundle: logo_link
|
||||
mode: default
|
||||
content:
|
||||
field_lien:
|
||||
type: link_default
|
||||
weight: 26
|
||||
region: content
|
||||
settings:
|
||||
placeholder_url: ''
|
||||
placeholder_title: ''
|
||||
third_party_settings: { }
|
||||
field_logo:
|
||||
type: image_image
|
||||
weight: 27
|
||||
region: content
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
preview_image_style: thumbnail
|
||||
third_party_settings: { }
|
||||
info:
|
||||
type: string_textfield
|
||||
weight: -5
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
langcode:
|
||||
type: language_select
|
||||
weight: 2
|
||||
region: content
|
||||
settings:
|
||||
include_locked: true
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
||||
@@ -0,0 +1,42 @@
|
||||
uuid: 7dfb0049-bde3-4738-8ae9-fd78f513f401
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.logo_link
|
||||
- field.field.block_content.logo_link.field_lien
|
||||
- field.field.block_content.logo_link.field_logo
|
||||
module:
|
||||
- image
|
||||
- link
|
||||
id: block_content.logo_link.default
|
||||
targetEntityType: block_content
|
||||
bundle: logo_link
|
||||
mode: default
|
||||
content:
|
||||
field_lien:
|
||||
type: link
|
||||
label: above
|
||||
settings:
|
||||
trim_length: 80
|
||||
url_only: false
|
||||
url_plain: false
|
||||
rel: ''
|
||||
target: ''
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
field_logo:
|
||||
type: image
|
||||
label: above
|
||||
settings:
|
||||
image_link: ''
|
||||
image_style: ''
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 1
|
||||
region: content
|
||||
hidden:
|
||||
langcode: true
|
||||
search_api_excerpt: true
|
||||
@@ -0,0 +1,23 @@
|
||||
uuid: d63a6e6b-64b6-43bd-a58b-2ee3e106a41b
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.logo_link
|
||||
- field.storage.block_content.field_lien
|
||||
module:
|
||||
- link
|
||||
id: block_content.logo_link.field_lien
|
||||
field_name: field_lien
|
||||
entity_type: block_content
|
||||
bundle: logo_link
|
||||
label: Lien
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
title: 0
|
||||
link_type: 16
|
||||
field_type: link
|
||||
@@ -0,0 +1,38 @@
|
||||
uuid: 727398e0-2cd1-42ba-bafb-cd733f136caa
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.logo_link
|
||||
- field.storage.block_content.field_logo
|
||||
module:
|
||||
- image
|
||||
id: block_content.logo_link.field_logo
|
||||
field_name: field_logo
|
||||
entity_type: block_content
|
||||
bundle: logo_link
|
||||
label: Logo
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:file'
|
||||
handler_settings: { }
|
||||
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||
file_extensions: 'png gif jpg jpeg webp'
|
||||
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
|
||||
field_type: image
|
||||
@@ -0,0 +1,19 @@
|
||||
uuid: feb6db14-a228-4db7-bd2b-f1f7a7e67add
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- link
|
||||
id: block_content.field_lien
|
||||
field_name: field_lien
|
||||
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,30 @@
|
||||
uuid: 816a5b21-af77-44d6-ae56-1929fabe039f
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- file
|
||||
- image
|
||||
id: block_content.field_logo
|
||||
field_name: field_logo
|
||||
entity_type: block_content
|
||||
type: image
|
||||
settings:
|
||||
target_type: file
|
||||
display_field: false
|
||||
display_default: true
|
||||
uri_scheme: public
|
||||
default_image:
|
||||
uuid: ''
|
||||
alt: ''
|
||||
title: ''
|
||||
width: null
|
||||
height: null
|
||||
module: image
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,11 @@
|
||||
uuid: 284462f0-456e-4178-a946-51ad5a7d30ee
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.logo_link
|
||||
id: block_content.logo_link
|
||||
target_entity_type_id: block_content
|
||||
target_bundle: logo_link
|
||||
default_langcode: site_default
|
||||
language_alterable: false
|
||||
Reference in New Issue
Block a user