UserNameUnique::$message
Same name in other branches
- 9 core/modules/user/src/Plugin/Validation/Constraint/UserNameUnique.php \Drupal\user\Plugin\Validation\Constraint\UserNameUnique::message
- 8.9.x core/modules/user/src/Plugin/Validation/Constraint/UserNameUnique.php \Drupal\user\Plugin\Validation\Constraint\UserNameUnique::message
- 11.x core/modules/user/src/Plugin/Validation/Constraint/UserNameUnique.php \Drupal\user\Plugin\Validation\Constraint\UserNameUnique::message
Type: message
Overrides UniqueFieldConstraint::$message
File
-
core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserNameUnique.php, line 18
Class
- UserNameUnique
- Checks if a user name is unique on the site.
Namespace
Drupal\user\Plugin\Validation\ConstraintCode
public $message = 'The username %value is already taken.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.