You are here

public property UserNameConstraint::$spaceBeginMessage in Drupal 9

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

File

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

Class

UserNameConstraint
Checks if a value is a valid user name.

Namespace

Drupal\user\Plugin\Validation\Constraint

Code

public $spaceBeginMessage = 'The username cannot begin with a space.';