user.name_validator

Class

Drupal\user\UserNameValidator
3 string references to user.name_validator
SiteConfigureForm::create in core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php
Instantiates a new instance of this class.
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.

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.