public function ContextInterface::hasContextValue in Plug 7
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\ContextCode
public function hasContextValue();