ContextAwarePluginBase::$context

Same name in other branches
  1. 9 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 21

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.