function EmailConstraint::validatedBy

Same name in other branches
  1. 9 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EmailConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\EmailConstraint::validatedBy()
  2. 8.9.x core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EmailConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\EmailConstraint::validatedBy()
  3. 10 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EmailConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\EmailConstraint::validatedBy()

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EmailConstraint.php, line 32

Class

EmailConstraint
Count constraint.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public function validatedBy() : string {
    return EmailValidator::class;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.