protected property ContextAwarePluginTrait::$context in Drupal 10
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php \Drupal\Core\Plugin\ContextAwarePluginTrait::context
The data objects representing the context of this plugin.
Type: \Drupal\Core\Plugin\Context\ContextInterface[]
File
- core/
lib/ Drupal/ Core/ Plugin/ ContextAwarePluginTrait.php, line 29
Class
- ContextAwarePluginTrait
- Provides a trait to add context-aware functionality to plugins.
Namespace
Drupal\Core\PluginCode
protected $context = [];