You are here

public property UserNameConstraint::$multipleSpacesMessage in Zircon Profile 8

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

File

core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php, line 25
Contains \Drupal\user\Plugin\Validation\Constraint\UserNameConstraint.

Class

UserNameConstraint
Checks if a value is a valid user name.

Namespace

Drupal\user\Plugin\Validation\Constraint

Code

public $multipleSpacesMessage = 'The username cannot contain multiple spaces in a row.';