You are here

public function ContextAwarePluginInterface::getContextDefinitions in Drupal 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php \Drupal\Core\Plugin\ContextAwarePluginInterface::getContextDefinitions()
  2. 8 core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\Plugin\ContextAwarePluginInterface::getContextDefinitions()
Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php \Drupal\Core\Plugin\ContextAwarePluginInterface::getContextDefinitions()
  2. 10 core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php \Drupal\Core\Plugin\ContextAwarePluginInterface::getContextDefinitions()

Gets the context definitions of the plugin.

Return value

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

Overrides ContextAwarePluginInterface::getContextDefinitions

File

core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php, line 22

Class

ContextAwarePluginInterface
An override of ContextAwarePluginInterface for documentation purposes.

Namespace

Drupal\Core\Plugin

Code

public function getContextDefinitions();