Context::$contextDefinition

Same name in this branch
  1. 8.9.x core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::contextDefinition
Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::contextDefinition
  2. 9 core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::contextDefinition
  3. 10 core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::contextDefinition
  4. 10 core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::contextDefinition
  5. 11.x core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::contextDefinition
  6. 11.x core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::contextDefinition

The definition to which a context must conform.

Type: \Drupal\Core\Plugin\Context\ContextDefinitionInterface

Overrides Context::$contextDefinition

File

core/lib/Drupal/Core/Plugin/Context/Context.php, line 33

Class

Context
A Drupal specific context wrapper class.

Namespace

Drupal\Core\Plugin\Context

Code

protected $contextDefinition;

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