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

Breadcrumb

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

function ContextInterface::getContextValue

Gets the context value.

Return value

mixed The currently set context value, or NULL if it is not set.

1 method overrides ContextInterface::getContextValue()
Context::getContextValue in core/lib/Drupal/Component/Plugin/Context/Context.php
Gets the context value.

File

core/lib/Drupal/Component/Plugin/Context/ContextInterface.php, line 23

Class

ContextInterface
Provides data and definitions for plugins during runtime and administration.

Namespace

Drupal\Component\Plugin\Context

Code

public function getContextValue();

API Navigation

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