public function Context::hasContextValue in Zircon Profile 8
Same name in this branch
- 8 core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::hasContextValue()
- 8 core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::hasContextValue()
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::hasContextValue()
Returns whether the context has a value.
Return value
bool TRUE if the context has a value, FALSE otherwise.
Overrides Context::hasContextValue
File
- core/
lib/ Drupal/ Core/ Plugin/ Context/ Context.php, line 86 - Contains \Drupal\Core\Plugin\Context\Context.
Class
- Context
- A Drupal specific context wrapper class.
Namespace
Drupal\Core\Plugin\ContextCode
public function hasContextValue() {
return (bool) $this->contextData || parent::hasContextValue();
}