You are here

public function FacetInterface::getFacetSources in Facets 8

Loads the facet sources for this facet.

Parameters

bool $only_enabled: Only return enabled facet sources.

Return value

\Drupal\facets\FacetSource\FacetSourcePluginInterface[] An array of facet sources.

1 method overrides FacetInterface::getFacetSources()
Facet::getFacetSources in src/Entity/Facet.php
Loads the facet sources for this facet.

File

src/FacetInterface.php, line 371

Class

FacetInterface
The facet entity.

Namespace

Drupal\facets

Code

public function getFacetSources($only_enabled = TRUE);