Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
Attribute.php
Attribute::$required
@var bool
Type:
required
File
vendor/
doctrine/
annotations/
lib/
Doctrine/
Common/
Annotations/
Annotation/
Attribute.php
, line 20
Class
Attribute
Annotation that can be used to signal to the parser to check the attribute type during the parsing process.
Namespace
Doctrine\Common\Annotations\Annotation
Code
public $required =
false
;
RSS feed