ContextDefinition::$definition

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

The ContextDefinitionInterface object.

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

Overrides Plugin::$definition

File

core/lib/Drupal/Core/Annotation/ContextDefinition.php, line 78

Class

ContextDefinition
Defines a context definition annotation object.

Namespace

Drupal\Core\Annotation

Code

protected $definition;

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