UserNameConstraint::$emptyMessage
Same name in other branches
- 8.9.x core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php \Drupal\user\Plugin\Validation\Constraint\UserNameConstraint::emptyMessage
- 10 core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php \Drupal\user\Plugin\Validation\Constraint\UserNameConstraint::emptyMessage
- 11.x core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php \Drupal\user\Plugin\Validation\Constraint\UserNameConstraint::emptyMessage
Type: emptyMessage
File
-
core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserNameConstraint.php, line 17
Class
- UserNameConstraint
- Checks if a value is a valid user name.
Namespace
Drupal\user\Plugin\Validation\ConstraintCode
public $emptyMessage = 'You must enter a username.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.