function Context::getContextDefinition
Same name in this branch
- 8.9.x core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::getContextDefinition()
Same name in other branches
- 9 core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::getContextDefinition()
- 9 core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::getContextDefinition()
- 10 core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::getContextDefinition()
- 10 core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::getContextDefinition()
- 11.x core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::getContextDefinition()
- 11.x core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::getContextDefinition()
Overrides ContextInterface::getContextDefinition
1 call to Context::getContextDefinition()
- Context::getContextValue in core/
lib/ Drupal/ Component/ Plugin/ Context/ Context.php - Gets the context value.
1 method overrides Context::getContextDefinition()
- Context::getContextDefinition in core/
lib/ Drupal/ Core/ Plugin/ Context/ Context.php - Gets the provided definition that the context must conform to.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Context/ Context.php, line 71
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.