You are here

public function WidgetPluginInterface::build in Facets 8

Builds the facet widget for rendering.

Parameters

\Drupal\facets\FacetInterface $facet: The facet we need to build.

Return value

array A renderable array.

1 method overrides WidgetPluginInterface::build()
WidgetPluginBase::build in src/Widget/WidgetPluginBase.php
Builds the facet widget for rendering.

File

src/Widget/WidgetPluginInterface.php, line 24

Class

WidgetPluginInterface
Provides an interface describing the a facet widgets.

Namespace

Drupal\facets\Widget

Code

public function build(FacetInterface $facet);