You are here

public function ProcessorPluginBase::buildConfigurationForm in Facets 8

Same name in this branch
  1. 8 src/Processor/ProcessorPluginBase.php \Drupal\facets\Processor\ProcessorPluginBase::buildConfigurationForm()
  2. 8 modules/facets_summary/src/Processor/ProcessorPluginBase.php \Drupal\facets_summary\Processor\ProcessorPluginBase::buildConfigurationForm()

Adds a configuration form for this processor.

Parameters

array $form: The form.

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

\Drupal\facets_summary\FacetsSummaryInterface $facets_summary: The facet summary this processor is being added to.

Overrides ProcessorInterface::buildConfigurationForm

2 methods override ProcessorPluginBase::buildConfigurationForm()
ResetFacetsProcessor::buildConfigurationForm in modules/facets_summary/src/Plugin/facets_summary/processor/ResetFacetsProcessor.php
Adds a configuration form for this processor.
ShowTextWhenEmptyProcessor::buildConfigurationForm in modules/facets_summary/src/Plugin/facets_summary/processor/ShowTextWhenEmptyProcessor.php
Adds a configuration form for this processor.

File

modules/facets_summary/src/Processor/ProcessorPluginBase.php, line 17

Class

ProcessorPluginBase
A base class for plugins that implements most of the boilerplate.

Namespace

Drupal\facets_summary\Processor

Code

public function buildConfigurationForm(array $form, FormStateInterface $form_state, FacetsSummaryInterface $facets_summary) {

  // By default, there should be no config form.
  return [];
}