public function ConditionPluginCollection::getConditionContexts in Drupal 9
Same name and namespace in other branches
- 8 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;
}