public function ContextInterface::hasContextValue in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::hasContextValue()
- 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\ContextCode
public function hasContextValue();