You are here

public function TestPreQuery::buildConfigurationForm in Facets 8

Adds a configuration form for this processor.

Parameters

array $form: The form.

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

\Drupal\facets\FacetInterface $facet: The facet this processor is being added to.

Overrides ProcessorPluginBase::buildConfigurationForm

File

tests/facets_custom_widget/src/Plugin/facets/processor/TestPreQuery.php, line 27

Class

TestPreQuery
The URL processor handler triggers the actual url processor.

Namespace

Drupal\facets_custom_widget\Plugin\facets\processor

Code

public function buildConfigurationForm(array $form, FormStateInterface $form_state, FacetInterface $facet) {
  return [
    'test_value' => [
      '#type' => 'textfield',
    ],
  ];
}