enable layout builder may break things

This commit is contained in:
Dan Chadwick
2024-04-17 20:55:18 -07:00
parent efda4b2bac
commit ae583e0dfc
8 changed files with 89 additions and 10 deletions

View File

@@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.node.page.body
- field.field.node.page.layout_builder__layout
- node.type.page
module:
- path
@@ -76,4 +77,5 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
hidden:
layout_builder__layout: true

View File

@@ -4,10 +4,49 @@ status: true
dependencies:
config:
- field.field.node.page.body
- field.field.node.page.layout_builder__layout
- node.type.page
module:
- layout_builder
- layout_discovery
- text
- user
third_party_settings:
layout_builder:
enabled: true
allow_custom: true
sections:
-
layout_id: layout_onecol
layout_settings:
label: ''
components:
d52d6978-dac0-4f5f-93ed-3ffef71c4463:
uuid: d52d6978-dac0-4f5f-93ed-3ffef71c4463
region: content
configuration:
id: 'field_block:node:page:body'
label_display: '0'
context_mapping:
entity: layout_builder.entity
formatter:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 0
additional: { }
2b328f23-23d7-4f17-ab02-332823e7bd5c:
uuid: 2b328f23-23d7-4f17-ab02-332823e7bd5c
region: content
configuration:
id: 'extra_field_block:node:page:links'
label_display: '0'
context_mapping:
entity: layout_builder.entity
weight: 1
additional: { }
third_party_settings: { }
_core:
default_config_hash: M_Y8L5tfmhx7DR143E05YyZSpvgil6VFvqcfBWykalg
id: node.page.default

View File

@@ -5,6 +5,7 @@ dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.page.body
- field.field.node.page.layout_builder__layout
- node.type.page
module:
- text
@@ -27,4 +28,5 @@ content:
links:
weight: 101
region: content
hidden: { }
hidden:
layout_builder__layout: true

View File

@@ -24,6 +24,7 @@ module:
help: 0
history: 0
image: 0
layout_builder: 0
layout_discovery: 0
link: 0
media: 0

View File

@@ -0,0 +1,21 @@
uuid: f448f916-88cc-4925-9607-faf1038010dc
langcode: en
status: true
dependencies:
config:
- field.storage.node.layout_builder__layout
- node.type.page
module:
- layout_builder
id: node.page.layout_builder__layout
field_name: layout_builder__layout
entity_type: node
bundle: page
label: Layout
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: layout_section

View File

@@ -0,0 +1,19 @@
uuid: 9ab7b8ed-c5a2-40b9-8116-46f6eb034a37
langcode: en
status: true
dependencies:
module:
- layout_builder
- node
id: node.layout_builder__layout
field_name: layout_builder__layout
entity_type: node
type: layout_section
settings: { }
module: layout_builder
locked: true
cardinality: 1
translatable: false
indexes: { }
persist_with_no_fields: false
custom_storage: false