- Issue created by @Anybody
- 🇩🇪Germany Anybody Porta Westfalica
Update: This is super strange!
This is the full code:
$build['regions'][$region_name] = [ '#attributes' => [ 'class' => [ 'js-lpb-region', ], 'data-region' => $region_name, 'data-region-uuid' => $entity->uuid() . '-' . $region_name, 'data-lpb-ui-id' => $entity->uuid() . '-' . $region_name, ], ];
So I don't think that will affect anything, bein inside #attributes!
- Status changed to Closed: cannot reproduce
11 months ago 10:51am 26 June 2024 - 🇩🇪Germany Anybody Porta Westfalica
Sorry, this seems to be an issue with https://www.drupal.org/project/layout_section_classes →
- 🇩🇪Germany Anybody Porta Westfalica
Final update: This was a mistake in a custom layout twig file.
We had interated through a render array with #attributes and the expected sub-render array and rendered them individually. That caused the issue.