You are here

public function ConfigurableSearchPluginBase::defaultConfiguration in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::defaultConfiguration()
  2. 9 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.

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 [];
}