public function Stemmer::defaultConfiguration in Search API 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides FieldsProcessorPluginBase::defaultConfiguration
File
- src/
Plugin/ search_api/ processor/ Stemmer.php, line 37
Class
- Stemmer
- Stems search terms.
Namespace
Drupal\search_api\Plugin\search_api\processorCode
public function defaultConfiguration() {
$configuration = parent::defaultConfiguration();
$configuration += [
'exceptions' => [
'texan' => 'texa',
'mexican' => 'mexic',
],
];
return $configuration;
}