Layout Builder Create
layout_builder_createReplace a bundle's layout with sections, components, or a single layout spec, enable Layout Builder if disabled, and optionally lock components from per-entity edits.
Instructions
Replace the Layout Builder layout for a bundle.
layout may be a list of section specs, {"sections": [...]}, or a
single {"layout_id": ..., "components": [...]}. Layout Builder is
switched on if it was off. lock marks each component as locked
against per-entity editing; Layout Builder has no display-level lock,
so this is a component lock.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | No | ||
| bundle | Yes | ||
| layout | Yes | ||
| entity_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||