You are here

public function ContextInterface::getContextDefinition in Drupal 10

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

Return value

\Drupal\Core\Plugin\Context\ContextDefinitionInterface

Overrides ContextInterface::getContextDefinition

File

core/lib/Drupal/Core/Plugin/Context/ContextInterface.php, line 21

Class

ContextInterface
Context data and definitions for plugins supporting caching and return docs.

Namespace

Drupal\Core\Plugin\Context

Code

public function getContextDefinition();