public function Context::getContextDefinition in Zircon Profile 8
Same name in this branch
- 8 core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::getContextDefinition()
- 8 core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::getContextDefinition()
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\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 Context::getContextDefinition
2 calls to Context::getContextDefinition()
- Context::getContextData in core/
lib/ Drupal/ Core/ Plugin/ Context/ Context.php - Gets the context value as typed data object.
- Context::getContextValue in core/
lib/ Drupal/ Core/ Plugin/ Context/ Context.php - Gets the context value.
File
- core/
lib/ Drupal/ Core/ Plugin/ Context/ Context.php, line 135 - Contains \Drupal\Core\Plugin\Context\Context.
Class
- Context
- A Drupal specific context wrapper class.
Namespace
Drupal\Core\Plugin\ContextCode
public function getContextDefinition() {
return $this->contextDefinition;
}