Condition::$context_definitions

Same name in other branches
  1. 9 core/lib/Drupal/Core/Condition/Annotation/Condition.php \Drupal\Core\Condition\Annotation\Condition::context_definitions
  2. 8.9.x core/lib/Drupal/Core/Condition/Annotation/Condition.php \Drupal\Core\Condition\Annotation\Condition::context_definitions
  3. 10 core/lib/Drupal/Core/Condition/Annotation/Condition.php \Drupal\Core\Condition\Annotation\Condition::context_definitions

An array of context definitions describing the context used by the plugin.

The array is keyed by context names.

Type: \Drupal\Core\Annotation\ContextDefinition[]

File

core/lib/Drupal/Core/Condition/Annotation/Condition.php, line 58

Class

Condition
Defines a condition plugin annotation object.

Namespace

Drupal\Core\Condition\Annotation

Code

public $context_definitions = [];

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