Skip to content
Snippets Groups Projects
Commit 6b339a91 authored by Jeffrey Bertoen's avatar Jeffrey Bertoen
Browse files

Fix nesting of array structure.

parent c4bbea5c
No related branches found
No related tags found
No related merge requests found
......@@ -102,9 +102,10 @@ class FacetBlock extends BlockBase implements ContainerFactoryPluginInterface {
'#attributes' => [
'class' => ['block-facet__wrapper'],
],
$facet_build,
];
$build = array_merge($facet_build, $build);
// Add css classes.
if (!empty($facet_build[0]['#attributes']['class'])) {
$css_classes = $facet_build[0]['#attributes']['class'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment