You are here

public function ContextInterface::hasContextValue 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::hasContextValue()
  2. 9 core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::hasContextValue()

Returns whether the context has a value.

Return value

bool TRUE if the context has a value, FALSE otherwise.

1 method overrides ContextInterface::hasContextValue()
Context::hasContextValue in core/lib/Drupal/Component/Plugin/Context/Context.php
Returns whether the context has a value.

File

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

Class

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

Namespace

Drupal\Component\Plugin\Context

Code

public function hasContextValue();