function ConditionPluginCollection::getConditionContexts
Same name in other branches
- 9 core/lib/Drupal/Core/Condition/ConditionPluginCollection.php \Drupal\Core\Condition\ConditionPluginCollection::getConditionContexts()
- 10 core/lib/Drupal/Core/Condition/ConditionPluginCollection.php \Drupal\Core\Condition\ConditionPluginCollection::getConditionContexts()
- 11.x core/lib/Drupal/Core/Condition/ConditionPluginCollection.php \Drupal\Core\Condition\ConditionPluginCollection::getConditionContexts()
Gets the values for all defined contexts.
Return value
\Drupal\Component\Plugin\Context\ContextInterface[] An array of set contexts, keyed by context name.
File
-
core/
lib/ Drupal/ Core/ Condition/ ConditionPluginCollection.php, line 73
Class
- ConditionPluginCollection
- Provides a collection of condition plugins.
Namespace
Drupal\Core\ConditionCode
public function getConditionContexts() {
return $this->conditionContexts;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.