You are here

protected property Context::$contextDefinition in Drupal 9

Same name in this branch
  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
Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::contextDefinition

The definition to which a context must conform.

Type: \Drupal\Component\Plugin\Context\ContextDefinitionInterface

File

core/lib/Drupal/Component/Plugin/Context/Context.php, line 26

Class

Context
A generic context class for wrapping data a plugin needs to operate.

Namespace

Drupal\Component\Plugin\Context

Code

protected $contextDefinition;