You are here

protected property ContextAwarePluginTrait::$context in Drupal 10

Same name and namespace in other branches
  1. 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\Plugin

Code

protected $context = [];