function ConfigurableSearchPluginBase::setConfiguration

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

Overrides ConfigurableInterface::setConfiguration

1 call to ConfigurableSearchPluginBase::setConfiguration()
ConfigurableSearchPluginBase::__construct in core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php

File

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

Class

ConfigurableSearchPluginBase
Provides a base implementation for a configurable Search plugin.

Namespace

Drupal\search\Plugin

Code

public function setConfiguration(array $configuration) {
    $this->configuration = NestedArray::mergeDeep($this->defaultConfiguration(), $configuration);
}

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