You are here

public function ContextAwarePluginBase::getContextDefinitions in Drupal 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php \Drupal\Core\Plugin\ContextAwarePluginBase::getContextDefinitions()
  2. 8 core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php \Drupal\Component\Plugin\ContextAwarePluginBase::getContextDefinitions()

Return value

\Drupal\Core\Plugin\Context\ContextDefinitionInterface[]

Overrides ContextAwarePluginBase::getContextDefinitions

File

core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php, line 105

Class

ContextAwarePluginBase
Base class for plugins that are context aware.

Namespace

Drupal\Core\Plugin

Code

public function getContextDefinitions() {
  return parent::getContextDefinitions();
}