public function ContextInterface::getContextData in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Plugin/Context/ContextInterface.php \Drupal\Core\Plugin\Context\ContextInterface::getContextData()
- 9 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();