Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContextInterface.php

function 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();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal