You are here

public property UserNameConstraint::$tooLongMessage in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php \Drupal\user\Plugin\Validation\Constraint\UserNameConstraint::tooLongMessage
  2. 9 core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php \Drupal\user\Plugin\Validation\Constraint\UserNameConstraint::tooLongMessage

File

core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php, line 22

Class

UserNameConstraint
Checks if a value is a valid user name.

Namespace

Drupal\user\Plugin\Validation\Constraint

Code

public $tooLongMessage = 'The username %name is too long: it must be %max characters or less.';