You are here

public function FieldsProcessorPluginBase::defaultConfiguration in Search API 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginBase::defaultConfiguration

5 calls to FieldsProcessorPluginBase::defaultConfiguration()
HtmlFilter::defaultConfiguration in src/Plugin/search_api/processor/HtmlFilter.php
Gets default configuration for this plugin.
IgnoreCharacters::defaultConfiguration in src/Plugin/search_api/processor/IgnoreCharacters.php
Gets default configuration for this plugin.
Stemmer::defaultConfiguration in src/Plugin/search_api/processor/Stemmer.php
Gets default configuration for this plugin.
Stopwords::defaultConfiguration in src/Plugin/search_api/processor/Stopwords.php
Gets default configuration for this plugin.
Tokenizer::defaultConfiguration in src/Plugin/search_api/processor/Tokenizer.php
Gets default configuration for this plugin.
5 methods override FieldsProcessorPluginBase::defaultConfiguration()
HtmlFilter::defaultConfiguration in src/Plugin/search_api/processor/HtmlFilter.php
Gets default configuration for this plugin.
IgnoreCharacters::defaultConfiguration in src/Plugin/search_api/processor/IgnoreCharacters.php
Gets default configuration for this plugin.
Stemmer::defaultConfiguration in src/Plugin/search_api/processor/Stemmer.php
Gets default configuration for this plugin.
Stopwords::defaultConfiguration in src/Plugin/search_api/processor/Stopwords.php
Gets default configuration for this plugin.
Tokenizer::defaultConfiguration in src/Plugin/search_api/processor/Tokenizer.php
Gets default configuration for this plugin.

File

src/Processor/FieldsProcessorPluginBase.php, line 181

Class

FieldsProcessorPluginBase
Provides a base class for processors that work on individual fields.

Namespace

Drupal\search_api\Processor

Code

public function defaultConfiguration() {
  $configuration = parent::defaultConfiguration();

  // @todo Add "fields" default here, too, and figure out how to replace
  //   current "magic" code dealing with unset option (or whether we even need
  //   to). See #2881665.
  $configuration += [
    'all_fields' => FALSE,
  ];
  return $configuration;
}