You are here

public function ConditionPluginCollection::getConditionContexts in Drupal 9

Same name and namespace in other branches
  1. 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\Condition

Code

public function getConditionContexts() {
  return $this->conditionContexts;
}