You are here

public function ConfigurablePluginBase::defaultConfiguration in Search API 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

3 calls to ConfigurablePluginBase::defaultConfiguration()
ConfigurablePluginBase::setConfiguration in src/Plugin/ConfigurablePluginBase.php
Sets the configuration for this plugin instance.
ConfigurablePluginBase::__construct in src/Plugin/ConfigurablePluginBase.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
FieldsProcessorPluginBase::defaultConfiguration in src/Processor/FieldsProcessorPluginBase.php
Gets default configuration for this plugin.
11 methods override ConfigurablePluginBase::defaultConfiguration()
AddHierarchy::defaultConfiguration in src/Plugin/search_api/processor/AddHierarchy.php
Gets default configuration for this plugin.
Basic::defaultConfiguration in src/Plugin/search_api/tracker/Basic.php
Gets default configuration for this plugin.
ContentEntity::defaultConfiguration in src/Plugin/search_api/datasource/ContentEntity.php
Gets default configuration for this plugin.
Database::defaultConfiguration in modules/search_api_db/src/Plugin/search_api/backend/Database.php
Gets default configuration for this plugin.
FieldsProcessorPluginBase::defaultConfiguration in src/Processor/FieldsProcessorPluginBase.php
Gets default configuration for this plugin.

... See full list

File

src/Plugin/ConfigurablePluginBase.php, line 67

Class

ConfigurablePluginBase
Provides a base class for all configurable Search API plugins.

Namespace

Drupal\search_api\Plugin

Code

public function defaultConfiguration() {
  return [];
}