You are here

public function PluginContextDefinitionInterface::getContextDefinitions in Plugin 8.2

Gets the context definitions.

Return value

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

1 method overrides PluginContextDefinitionInterface::getContextDefinitions()
ArrayPluginDefinitionDecorator::getContextDefinitions in src/PluginDefinition/ArrayPluginDefinitionDecorator.php
Gets the context definitions.

File

src/PluginDefinition/PluginContextDefinitionInterface.php, line 33

Class

PluginContextDefinitionInterface
Defines a plugin definition that includes contexts.

Namespace

Drupal\plugin\PluginDefinition

Code

public function getContextDefinitions();