function EmailValidator::__construct
Same name in other branches
- 11.x core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EmailValidator.php \Drupal\Core\Validation\Plugin\Validation\Constraint\EmailValidator::__construct()
File
-
core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ EmailValidator.php, line 21
Class
- EmailValidator
- Email constraint.
Namespace
Drupal\Core\Validation\Plugin\Validation\ConstraintCode
public function __construct(string $defaultMode = Email::VALIDATION_MODE_HTML5) {
parent::__construct($defaultMode);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.