You are here

public function ContextInterface::getContextValue in Drupal 10

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