- 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?)