You are here

public function Glossary::submitConfigurationForm in Search API AZ Glossary 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/search_api/processor/Glossary.php \Drupal\search_api_glossary\Plugin\search_api\processor\Glossary::submitConfigurationForm()

Form submission handler.

Parameters

array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().

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

Overrides PluginFormTrait::submitConfigurationForm

See also

\Drupal\Core\Plugin\PluginFormInterface::submitConfigurationForm()

File

src/Plugin/search_api/processor/Glossary.php, line 203

Class

Glossary
Adds the item's AZ to the indexed data.

Namespace

Drupal\search_api_glossary\Plugin\search_api\processor

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  $glossarytable = $form_state
    ->getValues('glossarytable');
  $this
    ->setConfig($glossarytable);
}