Layout Builder Section Add
layout_builder_section_addAppend a section to a Drupal bundle's Layout Builder layout, enabling Layout Builder if disabled. Add components by plugin ID or with region and configuration; returns updated sections.
Instructions
Append a section to a bundle's Layout Builder layout.
section takes layout_id (default layout_onecol) and
components, which may be plugin ids or objects with plugin,
region and configuration. Layout Builder is switched on if it was
off. Returns the full section list afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle | Yes | ||
| section | Yes | ||
| entity_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||