function ConditionPluginBase::setConfiguration
Same name in other branches
- 9 core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::setConfiguration()
- 8.9.x core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::setConfiguration()
- 10 core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::setConfiguration()
Overrides ConfigurableInterface::setConfiguration
1 call to ConditionPluginBase::setConfiguration()
- ConditionPluginBase::__construct in core/
lib/ Drupal/ Core/ Condition/ ConditionPluginBase.php
File
-
core/
lib/ Drupal/ Core/ Condition/ ConditionPluginBase.php, line 100
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.