UserMailUnique::$message

Same name in other branches
  1. 9 core/modules/user/src/Plugin/Validation/Constraint/UserMailUnique.php \Drupal\user\Plugin\Validation\Constraint\UserMailUnique::message
  2. 8.9.x core/modules/user/src/Plugin/Validation/Constraint/UserMailUnique.php \Drupal\user\Plugin\Validation\Constraint\UserMailUnique::message
  3. 11.x core/modules/user/src/Plugin/Validation/Constraint/UserMailUnique.php \Drupal\user\Plugin\Validation\Constraint\UserMailUnique::message

Type: message

Overrides UniqueFieldConstraint::$message

File

core/modules/user/src/Plugin/Validation/Constraint/UserMailUnique.php, line 18

Class

UserMailUnique
Checks if a user's email address is unique on the site.

Namespace

Drupal\user\Plugin\Validation\Constraint

Code

public $message = 'The email address %value is already taken.';

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