function RequiredConstraint::__construct
Attributes
#[HasNamedArguments]
File
-
core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ RequiredConstraint.php, line 22
Class
- RequiredConstraint
- Marks a field as required in a Collection constraint.
Namespace
Drupal\Core\Validation\Plugin\Validation\ConstraintCode
public function __construct(...$args) {
parent::__construct(...$args);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.