You are here

public property UserNameUnique::$message in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/src/Plugin/Validation/Constraint/UserNameUnique.php \Drupal\user\Plugin\Validation\Constraint\UserNameUnique::message
  2. 9 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\Constraint

Code

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