You are here

public function Glossary::getConfig in Search API AZ Glossary 8.4

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

Wrapper to get config.

Return value

array Configuration array.

4 calls to Glossary::getConfig()
Glossary::addFieldValues in src/Plugin/search_api/processor/Glossary.php
Adds the values of properties defined by this processor to the item.
Glossary::buildConfigurationForm in src/Plugin/search_api/processor/Glossary.php
Form constructor.
Glossary::getPropertyDefinitions in src/Plugin/search_api/processor/Glossary.php
Retrieves the properties this processor defines for the given datasource.
Glossary::preIndexSave in src/Plugin/search_api/processor/Glossary.php
Preprocesses the search index entity before it is saved.

File

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

Class

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

Namespace

Drupal\search_api_glossary\Plugin\search_api\processor

Code

public function getConfig() {
  if (isset($this->configuration['glossarytable'])) {
    return unserialize($this->configuration['glossarytable'])['glossarytable'];
  }
}