$regions empty on processAttributeOptionBuild()

Created on 23 March 2020, over 5 years ago
Updated 15 March 2023, over 2 years ago

Hello;

I've found out that, when using layout_options_class_select / ClassAttributeSelect, the #attributes classes are correctly populated for the 'layout' region but not for the rest.

As far as I can see, this is because the processAttributeOptionBuild() receives an empty $regions array, coming from Layout Builder. Thus, the elseif (array_key_exists($region, $regions)) { always fails and the attributes aren't populated.

🐛 Bug report
Status

Closed: cannot reproduce

Component

Code

Created by

🇪🇸Spain idiaz.roncero Madrid

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.71.5 2024