Allow custom classes on each column

Created on 13 October 2024, 3 months ago

Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

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

Comments & Activities

  • Issue created by @mlncn
  • πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

    OK this could be done with another data custom class like https://git.drupalcode.org/project/layout_collapse/-/blob/1.0.x/src/Plug... but this time we bring back teh validate plugin all teh originals we stole from Layout Options had.

    Use that layout_options plugin four times in layout_options_definitions in https://git.drupalcode.org/project/layout_collapse/-/blob/1.0.x/layout_c... but instead of being global and for regions it is only for layout and then we set which ones it appears on, none for the one column, two for the two column, three for the three, and all four for the four.

    Unrelated note that we could enable titling and collapsing the entire layout if we wanted by switching the layout: false to layout true on teh others and incorporating that into the first layout, i did not do that because of time, especially the couple hours i would have spent seeing if teh same SDC could be used as the wrapper there (probably no because i did content as a property not a slot?)

Production build 0.71.5 2024