You are here

public function FacetSourcePluginBase::buildFacet in Facets 8

Builds and returns an extra renderable array for this facet block plugin.

Return value

array A renderable array representing the content of the block.

Overrides FacetSourcePluginInterface::buildFacet

See also

\Drupal\facets\Plugin\facets\facet_source\SearchApiDisplay

1 call to FacetSourcePluginBase::buildFacet()
SearchApiDisplay::buildFacet in src/Plugin/facets/facet_source/SearchApiDisplay.php
Builds and returns an extra renderable array for this facet block plugin.
1 method overrides FacetSourcePluginBase::buildFacet()
SearchApiDisplay::buildFacet in src/Plugin/facets/facet_source/SearchApiDisplay.php
Builds and returns an extra renderable array for this facet block plugin.

File

src/FacetSource/FacetSourcePluginBase.php, line 122

Class

FacetSourcePluginBase
Defines a base class from which other facet sources may extend.

Namespace

Drupal\facets\FacetSource

Code

public function buildFacet() {
  return [];
}