You are here

public function ProcessorPluginBase::submitConfigurationForm in Facets 8

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

Submits 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::submitConfigurationForm

File

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

Class

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

Namespace

Drupal\facets_summary\Processor

Code

public function submitConfigurationForm(array $form, FormStateInterface $form_state, FacetsSummaryInterface $facets_summary) {
  $this
    ->setConfiguration($form_state
    ->getValues());
}