You are here

public function ContextInterface::hasContextValue in Service Container 7.2

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

File

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();