You are here

public function ContextInterface::hasContextValue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 29
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 hasContextValue();