function ConfigurableSearchPluginBase::defaultConfiguration

Same name in other branches
  1. 9 core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::defaultConfiguration()
  2. 10 core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::defaultConfiguration()
  3. 11.x core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::defaultConfiguration()

Overrides ConfigurableInterface::defaultConfiguration

1 call to ConfigurableSearchPluginBase::defaultConfiguration()
ConfigurableSearchPluginBase::setConfiguration in core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php
Sets the configuration for this plugin instance.
2 methods override ConfigurableSearchPluginBase::defaultConfiguration()
NodeSearch::defaultConfiguration in core/modules/node/src/Plugin/Search/NodeSearch.php
Gets default configuration for this plugin.
SearchExtraTypeSearch::defaultConfiguration in core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php
Gets default configuration for this plugin.

File

core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php, line 32

Class

ConfigurableSearchPluginBase
Provides a base implementation for a configurable Search plugin.

Namespace

Drupal\search\Plugin

Code

public function defaultConfiguration() {
    return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.