You are here

public function Tokenizer::setConfiguration in Search API 8

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Overrides ConfigurablePluginBase::setConfiguration

File

src/Plugin/search_api/processor/Tokenizer.php, line 62

Class

Tokenizer
Splits text into individual words for searching.

Namespace

Drupal\search_api\Plugin\search_api\processor

Code

public function setConfiguration(array $configuration) {
  parent::setConfiguration($configuration);
  unset($this->spaces);
}