You are here

protected function Glossary::setConfig 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::setConfig()

Wrapper to save config.

Parameters

array $configuration: Configuration array.

1 call to Glossary::setConfig()
Glossary::submitConfigurationForm in src/Plugin/search_api/processor/Glossary.php
Form submission handler.

File

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

Class

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

Namespace

Drupal\search_api_glossary\Plugin\search_api\processor

Code

protected function setConfig(array $configuration) {
  $this
    ->setConfiguration([
    'glossarytable' => serialize($configuration),
  ]);
}