Block::$context_definitions
Same name in other branches
- 9 core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::context_definitions
- 8.9.x core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::context_definitions
- 10 core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::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/ Block/ Annotation/ Block.php, line 48
Class
- Block
- Defines a Block annotation object.
Namespace
Drupal\Core\Block\AnnotationCode
public $context_definitions = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.