Attribute::$required
@var bool
Type: required
File
-
core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ Annotation/ Attribute.php, line 44
Class
- Attribute
- Annotation that can be used to signal to the parser to check the attribute type during the parsing process.
Namespace
Drupal\Component\Annotation\Doctrine\AnnotationCode
public $required = false;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.