function ContextInterface::hasContextValue

Same name in other branches
  1. 9 core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::hasContextValue()
  2. 10 core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::hasContextValue()
  3. 11.x 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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.