You are here

public function ContextInterface::getContextValue in Service Container 7

Same name and namespace in other branches
  1. 7.2 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 lib/Drupal/Component/Plugin/Context/Context.php
Gets the context value.

File

lib/Drupal/Component/Plugin/Context/ContextInterface.php, line 21
Contains \Drupal\Component\Plugin\Context\ContextInterface.

Class

ContextInterface
A generic context interface for wrapping data a plugin needs to operate.

Namespace

Drupal\Component\Plugin\Context

Code

public function getContextValue();