You are here

public function ContextAwarePluginInterface::getContextDefinitions in Plug 7

Gets the context definitions of the plugin.

Return value

\Drupal\Component\Plugin\Context\ContextDefinitionInterface[] The array of context definitions, keyed by context name.

1 method overrides ContextAwarePluginInterface::getContextDefinitions()
ContextAwarePluginBase::getContextDefinitions in lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
Gets the context definitions of the plugin.

File

lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php, line 28
Contains \Drupal\Component\Plugin\ContextAwarePluginInterface.

Class

ContextAwarePluginInterface
Interface for defining context aware plugins.

Namespace

Drupal\Component\Plugin

Code

public function getContextDefinitions();