/** * {@inheritdoc} */ public function setActiveItems(FacetInterface $facet) { // Set the url alias from the the facet object. $this->urlAlias = $facet->getUrlAlias(); // Get the filter key of the facet. if (isset($this->activeFilters[$this->urlAlias])) { foreach ($this->activeFilters[$this->urlAlias] as $value) { $facet->setActiveItem(trim($value, '"')); } } }