Skip to content
Snippets Groups Projects
Commit 05e1e46b authored by Jonathan Maerckaert's avatar Jonathan Maerckaert Committed by Mahmoud Zayed
Browse files

Issue #3292760 by jmaerckaert: Column classes are not inserted to Twig...

Issue #3292760 by jmaerckaert: Column classes are not inserted to Twig template, only the word "Array."
parent 52b97b94
Branches 3.x
No related tags found
2 merge requests!19Resolve #3203096 "Column alignment",!18Issue #3279492: Remove no-gutters class from templates
......@@ -120,7 +120,7 @@ class BootstrapLayout extends LayoutDefault implements ContainerFactoryPluginInt
foreach ($this->getPluginDefinition()->getRegionNames() as $region_name) {
$region_classes = $this->configuration['regions_classes'][$region_name];
if ($this->configuration['layout_regions_classes'] && isset($this->configuration['layout_regions_classes'][$region_name])) {
$build[$region_name]['#attributes']['class'][] = $this->configuration['layout_regions_classes'][$region_name];
$build[$region_name]['#attributes']['class'] = $this->configuration['layout_regions_classes'][$region_name];
}
$build[$region_name]['#attributes']['class'][] = $region_classes;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment