You are here

public function Stopwords::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/Stopwords.php, line 60

Class

Stopwords
Allows you to define stopwords which will be ignored in searches.

Namespace

Drupal\search_api\Plugin\search_api\processor

Code

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