user.name_validator

Same name in other branches
  1. 11.x core/modules/user/user.services.yml \user.name_validator

Class

Drupal\user\UserNameValidator
5 string references to user.name_validator
SiteConfigureForm::create in core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php
Instantiates a new instance of this class.
SiteConfigureForm::__construct in core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php
Constructs a new SiteConfigureForm.
UserNameValidatorTest::setUp in core/modules/user/tests/src/Kernel/UserNameValidatorTest.php
UserPasswordForm::create in core/modules/user/src/Form/UserPasswordForm.php
Instantiates a new instance of this class.
UserPasswordForm::__construct in core/modules/user/src/Form/UserPasswordForm.php
Constructs a UserPasswordForm object.

File

core/modules/user/user.services.yml

View source
  1. class: Drupal\user\UserNameValidator
  2. arguments:
  3. - '@validation.basic_recursive_validator_factory'
  4. - '@validation.constraint'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.