diff --git a/src/Plugin/Block/FacetBlock.php b/src/Plugin/Block/FacetBlock.php index 747f636..4941b5c 100644 --- a/src/Plugin/Block/FacetBlock.php +++ b/src/Plugin/Block/FacetBlock.php @@ -84,7 +84,7 @@ class FacetBlock extends BlockBase implements ContainerFactoryPluginInterface { $facet = $this->facetStorage->load($facet_id); // Let the facet_manager build the facets. - $build = $this->facetManager->build($facet); + $build = [$this->facetManager->build($facet)]; // Add contextual links only when we have results. if (!empty($build)) {