You are here

public function ContextInterface::getContextData in Drupal 10

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

Code

public function getContextData();