public function ContextDefinitionInterface::isRequired in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::isRequired()
Determines whether the context is required.
For required data a non-NULL value is mandatory.
Return value
bool Whether a data value is required.
File
- lib/
Drupal/ Component/ Plugin/ Context/ ContextDefinitionInterface.php, line 100 - Contains \Drupal\Component\Plugin\Context\ContextDefinitionInterface.
Class
- ContextDefinitionInterface
- Interface for context definitions.
Namespace
Drupal\Component\Plugin\ContextCode
public function isRequired();