ConditionPluginCollection::$conditionContexts

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Condition/ConditionPluginCollection.php \Drupal\Core\Condition\ConditionPluginCollection::conditionContexts
  2. 10 core/lib/Drupal/Core/Condition/ConditionPluginCollection.php \Drupal\Core\Condition\ConditionPluginCollection::conditionContexts
  3. 11.x core/lib/Drupal/Core/Condition/ConditionPluginCollection.php \Drupal\Core\Condition\ConditionPluginCollection::conditionContexts

An array of collected contexts for conditions.

Type: \Drupal\Component\Plugin\Context\ContextInterface[]

File

core/lib/Drupal/Core/Condition/ConditionPluginCollection.php, line 18

Class

ConditionPluginCollection
Provides a collection of condition plugins.

Namespace

Drupal\Core\Condition

Code

protected $conditionContexts = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.