UserNameConstraint::$tooLongMessage
Type: tooLongMessage
File
-
core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserNameConstraint.php, line 23
Class
- UserNameConstraint
- Checks if a value is a valid user name.
Namespace
Drupal\user\Plugin\Validation\ConstraintCode
public $tooLongMessage = 'The username %name is too long: it must be %max characters or less.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.