ContextAwarePluginBase::$context

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php \Drupal\Component\Plugin\ContextAwarePluginBase::context

The data objects representing the context of this plugin.

Type: \Drupal\Component\Plugin\Context\ContextInterface[]

File

core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php, line 28

Class

ContextAwarePluginBase
Base class for plugins that are context aware.

Namespace

Drupal\Component\Plugin

Code

protected $context = [];

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