You are here

protected property ContextAwarePluginTrait::$context in Drupal 9

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 = [];