Capture all settings used by layouts

Created on 26 July 2021, almost 3 years ago
Updated 31 May 2024, 24 days ago

Problem/Motivation

Some layouts, come with additional options that can be selected when adding sections in the Layout builder interface, but not in this module. For example, the layouts provided by core layout_builder allow a user to select the specific width of 2-3-4 columns layouts. Without the additional information provided by those fields, the proper classes are never added to the layout.

Steps to reproduce

  1. Install layout_builder and this module
  2. In a text format select a format that uses additional settings. There will be multiple options that say "Two column", but the one that has the machine name layout_twocol_section has the additional settings. A similar situation exists with "Three column" (layout_threecol_section).
  3. If you add the layout in the "Layout" tab on a node, you'll see a "Column widths" field, but there is no such field when adding the same layout with this module.

Proposed resolution

Add a field to capture the additional settings to render the appropriate markup.

Remaining tasks

User interface changes

Add a field that captures the additional settings used by layouts.

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024