public function ConfigurableSearchPluginBase::setConfiguration in Drupal 10
Same name and namespace in other branches
- 8 core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::setConfiguration()
- 9 core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::setConfiguration()
Sets the configuration for this plugin instance.
Parameters
array $configuration: An associative array containing the plugin's configuration.
Overrides ConfigurableInterface::setConfiguration
1 call to ConfigurableSearchPluginBase::setConfiguration()
- ConfigurableSearchPluginBase::__construct in core/
modules/ search/ src/ Plugin/ ConfigurableSearchPluginBase.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
File
- core/
modules/ search/ src/ Plugin/ ConfigurableSearchPluginBase.php, line 46
Class
- ConfigurableSearchPluginBase
- Provides a base implementation for a configurable Search plugin.
Namespace
Drupal\search\PluginCode
public function setConfiguration(array $configuration) {
$this->configuration = NestedArray::mergeDeep($this
->defaultConfiguration(), $configuration);
}