user.name_validator
Same name in other branches
- 11.x core/modules/user/user.services.yml \user.name_validator
Class
Drupal\user\UserNameValidator5 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
- class: Drupal\user\UserNameValidator
- arguments:
- - '@validation.basic_recursive_validator_factory'
- - '@validation.constraint'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.