public function ConditionPluginBase::setConfiguration in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::setConfiguration()
- 9 core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::setConfiguration()
File
- core/
lib/ Drupal/ Core/ Condition/ ConditionPluginBase.php, line 99
Class
- ConditionPluginBase
- Provides a basis for fulfilling contexts for condition plugins.
Namespace
Drupal\Core\ConditionCode
public function setConfiguration(array $configuration) {
$this->configuration = $configuration + $this
->defaultConfiguration();
return $this;
}