You are here

public function SearchApiBaseFacetSource::getDisplay in Facets 8

Retrieves the Search API display plugin associated with this facet source.

Return value

\Drupal\search_api\Display\DisplayInterface The Search API display plugin associated with this facet source.

Overrides SearchApiFacetSourceInterface::getDisplay

File

src/Plugin/facets/facet_source/SearchApiBaseFacetSource.php, line 87

Class

SearchApiBaseFacetSource
A base class for Search API facet sources.

Namespace

Drupal\facets\Plugin\facets\facet_source

Code

public function getDisplay() {
  return $this
    ->getPluginDefinition()['display_id'];
}