public property UserNameUnique::$message in Drupal 9
Same name and namespace in other branches
- 8 core/modules/user/src/Plugin/Validation/Constraint/UserNameUnique.php \Drupal\user\Plugin\Validation\Constraint\UserNameUnique::message
Overrides UniqueFieldConstraint::$message
File
- core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserNameUnique.php, line 17
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.';