public function DefaultFacetManager::getEnabledFacets in Facets 8
Returns enabled facets for the searcher associated with this FacetManager.
Return value
\Drupal\facets\FacetInterface[] An array of enabled facets.
1 call to DefaultFacetManager::getEnabledFacets()
- DefaultFacetManager::initFacets in src/
FacetManager/ DefaultFacetManager.php - Initializes enabled facets.
File
- src/
FacetManager/ DefaultFacetManager.php, line 126
Class
- DefaultFacetManager
- The facet manager.
Namespace
Drupal\facets\FacetManagerCode
public function getEnabledFacets() {
return $this->facetStorage
->loadMultiple();
}