You are here

public property UserNameConstraint::$illegalMessage in Drupal 8

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

File

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

Class

UserNameConstraint
Checks if a value is a valid user name.

Namespace

Drupal\user\Plugin\Validation\Constraint

Code

public $illegalMessage = 'The username contains an illegal character.';