You are here

public function ContextAwarePluginInterface::getContextDefinitions in Zircon Profile 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. 8.0 core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\Plugin\ContextAwarePluginInterface::getContextDefinitions()

Gets the context definitions of the plugin.

Return value

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

2 methods override ContextAwarePluginInterface::getContextDefinitions()
ContextAwarePluginBase::getContextDefinitions in core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
Gets the context definitions of the plugin.
ContextAwarePluginInterface::getContextDefinitions in core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php
Gets the context definitions of the plugin.

File

core/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();