function ContextInterface::getContextData
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Plugin/Context/ContextInterface.php \Drupal\Core\Plugin\Context\ContextInterface::getContextData()
- 10 core/lib/Drupal/Core/Plugin/Context/ContextInterface.php \Drupal\Core\Plugin\Context\ContextInterface::getContextData()
- 11.x core/lib/Drupal/Core/Plugin/Context/ContextInterface.php \Drupal\Core\Plugin\Context\ContextInterface::getContextData()
Gets the context value as typed data object.
Return value
\Drupal\Core\TypedData\TypedDataInterface
1 method overrides ContextInterface::getContextData()
- Context::getContextData in core/
lib/ Drupal/ Core/ Plugin/ Context/ Context.php - Gets the context value as typed data object.
File
-
core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextInterface.php, line 28
Class
- ContextInterface
- Context data and definitions for plugins supporting caching and return docs.
Namespace
Drupal\Core\Plugin\ContextCode
public function getContextData();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.