public function ConfigurableSearchPluginBase::defaultConfiguration in Drupal 8
Same name and namespace in other branches
- 9 core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::defaultConfiguration()
- 10 core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
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\PluginCode
public function defaultConfiguration() {
return [];
}