function ContextInterface::getContextDefinition

Same name in this branch
  1. 11.x core/lib/Drupal/Core/Plugin/Context/ContextInterface.php \Drupal\Core\Plugin\Context\ContextInterface::getContextDefinition()
Same name in other branches
  1. 9 core/lib/Drupal/Core/Plugin/Context/ContextInterface.php \Drupal\Core\Plugin\Context\ContextInterface::getContextDefinition()
  2. 9 core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::getContextDefinition()
  3. 8.9.x core/lib/Drupal/Core/Plugin/Context/ContextInterface.php \Drupal\Core\Plugin\Context\ContextInterface::getContextDefinition()
  4. 8.9.x core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::getContextDefinition()
  5. 10 core/lib/Drupal/Core/Plugin/Context/ContextInterface.php \Drupal\Core\Plugin\Context\ContextInterface::getContextDefinition()
  6. 10 core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::getContextDefinition()

Gets the provided definition that the context must conform to.

Return value

\Drupal\Component\Plugin\Context\ContextDefinitionInterface The defining characteristic representation of the context.

2 methods override ContextInterface::getContextDefinition()
Context::getContextDefinition in core/lib/Drupal/Component/Plugin/Context/Context.php
Gets the provided definition that the context must conform to.
ContextInterface::getContextDefinition in core/lib/Drupal/Core/Plugin/Context/ContextInterface.php

File

core/lib/Drupal/Component/Plugin/Context/ContextInterface.php, line 39

Class

ContextInterface
Provides data and definitions for plugins during runtime and administration.

Namespace

Drupal\Component\Plugin\Context

Code

public function getContextDefinition();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.