Adding a class field for custom layouts

Created on 4 September 2023, about 1 year ago
Updated 28 September 2023, 12 months ago

Problem/Motivation

If a custom layout is provided by the projects theme, this layout will only have a "administrative label" textfeld, no class field like we have it in our DROWL Layouts.

Are we simply able to add a setting to "enable" the classfield for further/custom layouts too?

This is probably out of scope for this module, not sure. Likely not worth it.
But maybe we can add this field to all layouts which don't have the $form['extra_classes'] field.

Another option: https://www.drupal.org/project/layout_section_classes (classes on the section instead on the layout wrapper where also fine and probably an improvement to our existing layouts).

Or create a custom module in this case.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Closed: won't fix

Version

4.0

Component

Miscellaneous

Created by

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

Comments & Activities

Production build 0.71.5 2024