function ContextInterface::getContextData

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

Code

public function getContextData();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.