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

1648:enabled layout builder module and allowed basic page content typ… #32

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
42 changes: 41 additions & 1 deletion config/sync/core.entity_view_display.node.page.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,47 @@ 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:
sections:
-
layout_id: layout_onecol
layout_settings: { }
components:
90d0fe71-b6a5-4b80-a7db-5b86db418600:
uuid: 90d0fe71-b6a5-4b80-a7db-5b86db418600
region: content
configuration:
label_display: '0'
context_mapping:
entity: layout_builder.entity
id: 'field_block:node:page:body'
formatter:
label: hidden
type: text_default
settings: { }
third_party_settings: { }
additional: { }
weight: 0
83c45e08-dc64-44ce-9066-948f5e34549b:
uuid: 83c45e08-dc64-44ce-9066-948f5e34549b
region: content
configuration:
label_display: '0'
context_mapping:
entity: layout_builder.entity
id: 'extra_field_block:node:page:links'
additional: { }
weight: 1
allow_custom: true
enabled: true
_core:
default_config_hash: g1S3_GLaxq4l3I9RIca5Mlz02MxI2KmOquZpHw59akM
id: node.page.default
Expand All @@ -25,4 +62,7 @@ content:
links:
weight: 101
region: content
hidden: { }
settings: { }
third_party_settings: { }
hidden:
layout_builder__layout: true
2 changes: 2 additions & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ module:
help: 0
history: 0
image: 0
layout_builder: 0
layout_discovery: 0
link: 0
menu_ui: 0
node: 0
Expand Down
21 changes: 21 additions & 0 deletions config/sync/field.field.node.page.layout_builder__layout.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: d78c1d91-178f-490e-a766-7e87776279f5
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: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: layout_section
19 changes: 19 additions & 0 deletions config/sync/field.storage.node.layout_builder__layout.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 36873629-01b7-461c-b1dc-3764d8e1db0f
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: true
indexes: { }
persist_with_no_fields: false
custom_storage: false