public function FacetsSummaryInterface::getFacets in Facets 8
Returns a list of facets that are included in this summary.
Return value
array[] An associative array keyed by facet id and having arrays as values with the next structure:
- facet_id: (string) The facet entity id.
- show_count: (bool) If the source count will be displayed in the block.
- prefix: (string) Prefix of facet group.
- suffix: (string) Suffix of facet group.
- separator: (string) Separator for facet items.
1 method overrides FacetsSummaryInterface::getFacets()
- FacetsSummary::getFacets in modules/
facets_summary/ src/ Entity/ FacetsSummary.php - Returns a list of facets that are included in this summary.
File
- modules/
facets_summary/ src/ FacetsSummaryInterface.php, line 61
Class
- FacetsSummaryInterface
- Interface for the entity.
Namespace
Drupal\facets_summaryCode
public function getFacets();