function ContextInterface::hasContextValue
Same name in other branches
- 9 core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::hasContextValue()
- 8.9.x core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::hasContextValue()
- 10 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\ContextCode
public function hasContextValue();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.