You are here

public function WidgetPluginInterface::buildConfigurationForm in Facets 8

Provides a configuration form for this widget.

Parameters

array $form: A form API form array.

\Drupal\Core\Form\FormStateInterface $form_state: The form state object.

\Drupal\facets\FacetInterface $facet: The facet entitu.

Return value

array A renderable form array.

1 method overrides WidgetPluginInterface::buildConfigurationForm()
WidgetPluginBase::buildConfigurationForm in src/Widget/WidgetPluginBase.php
Provides a configuration form for this widget.

File

src/Widget/WidgetPluginInterface.php, line 81

Class

WidgetPluginInterface
Provides an interface describing the a facet widgets.

Namespace

Drupal\facets\Widget

Code

public function buildConfigurationForm(array $form, FormStateInterface $form_state, FacetInterface $facet);