You are here

public function ContextInterface::getContextDefinition in Zircon Profile 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Plugin/Context/ContextInterface.php \Drupal\Core\Plugin\Context\ContextInterface::getContextDefinition()
  2. 8 core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::getContextDefinition()
Same name and namespace in other branches
  1. 8.0 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 37
Contains \Drupal\Component\Plugin\Context\ContextInterface.

Class

ContextInterface
A generic context interface for wrapping data a plugin needs to operate.

Namespace

Drupal\Component\Plugin\Context

Code

public function getContextDefinition();