You are here

public function FacetSourcePluginInterface::getFields in Facets 8

Returns an array of fields that are defined on the facet source.

This returns an array of fields that are defined on the source. This array is keyed by the field's machine name and has values of the field's label.

Return value

array An array of available fields.

1 method overrides FacetSourcePluginInterface::getFields()
FacetSourcePluginBase::getFields in src/FacetSource/FacetSourcePluginBase.php
Returns an array of fields that are defined on the facet source.

File

src/FacetSource/FacetSourcePluginInterface.php, line 79

Class

FacetSourcePluginInterface
Describes a source for facet items.

Namespace

Drupal\facets\FacetSource

Code

public function getFields();