Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContextAwarePluginInterface.php

function ContextAwarePluginInterface::getContextDefinitions

Same name in this branch
  1. 11.1.x core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php \Drupal\Component\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 23

Class

ContextAwarePluginInterface
An override of ContextAwarePluginInterface for documentation purposes.

Namespace

Drupal\Core\Plugin

Code

public function getContextDefinitions();
RSS feed
Powered by Drupal