public function Context::getContextDefinition in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::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.
Overrides ContextInterface::getContextDefinition
1 call to Context::getContextDefinition()
- Context::getContextValue in lib/
Drupal/ Component/ Plugin/ Context/ Context.php - Gets the context value.
File
- lib/
Drupal/ Component/ Plugin/ Context/ Context.php, line 76 - Contains \Drupal\Component\Plugin\Context\Context.
Class
- Context
- A generic context class for wrapping data a plugin needs to operate.
Namespace
Drupal\Component\Plugin\ContextCode
public function getContextDefinition() {
return $this->contextDefinition;
}