public property UserNameConstraint::$spaceEndMessage in Drupal 10
Same name and namespace in other branches
- 8 core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php \Drupal\user\Plugin\Validation\Constraint\UserNameConstraint::spaceEndMessage
- 9 core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php \Drupal\user\Plugin\Validation\Constraint\UserNameConstraint::spaceEndMessage
File
- core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserNameConstraint.php, line 19
Class
- UserNameConstraint
- Checks if a value is a valid user name.
Namespace
Drupal\user\Plugin\Validation\ConstraintCode
public $spaceEndMessage = 'The username cannot end with a space.';