Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
UserNameConstraintValidator.php file core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php
UserNameConstraintValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php
UserNameValidator class core/modules/user/src/UserNameValidator.php Provides a username validator.
UserNameValidator.php file core/modules/user/src/UserNameValidator.php
UserNameValidator::validateName function core/modules/user/src/UserNameValidator.php Validates a user name.
UserNameValidator::__construct function core/modules/user/src/UserNameValidator.php
UserNameValidatorTest class core/modules/user/tests/src/Kernel/UserNameValidatorTest.php Verify that user validity checks behave as designed.
UserNameValidatorTest.php file core/modules/user/tests/src/Kernel/UserNameValidatorTest.php
UserNameValidatorTest::$modules property core/modules/user/tests/src/Kernel/UserNameValidatorTest.php Modules to install.
UserNameValidatorTest::$userValidator property core/modules/user/tests/src/Kernel/UserNameValidatorTest.php The user validator under test.
UserNameValidatorTest::invalidUserNameProvider function core/modules/user/tests/src/Kernel/UserNameValidatorTest.php Provides invalid user names.
UserNameValidatorTest::setUp function core/modules/user/tests/src/Kernel/UserNameValidatorTest.php
UserNameValidatorTest::testInvalidUsernames function core/modules/user/tests/src/Kernel/UserNameValidatorTest.php Tests invalid user name validation.
UserNameValidatorTest::testValidUsernames function core/modules/user/tests/src/Kernel/UserNameValidatorTest.php Tests valid user name validation.
UserNameValidatorTest::validUsernameProvider function core/modules/user/tests/src/Kernel/UserNameValidatorTest.php Provides valid user names.
UserPasswordForm::$emailValidator property core/modules/user/src/Form/UserPasswordForm.php The email validator service.
UserPasswordForm::$userStorage property core/modules/user/src/Form/UserPasswordForm.php The user storage.
UserPasswordResetTest::testResetFormHasAutocompleteAttribute function core/modules/user/tests/src/Functional/UserPasswordResetTest.php Test the autocomplete attribute is present.
UserPermissionsForm::$roleStorage property core/modules/user/src/Form/UserPermissionsForm.php The role storage.
UserPermissionsTest::testAdministratorRole function core/modules/user/tests/src/Functional/UserPermissionsTest.php Tests assigning of permissions for the administrator role.
UserPermissionsTest::testOverriddenPermission function core/modules/user/tests/src/Functional/UserPermissionsTest.php Verify that the permission form does not use overridden config.
UserPictureFile::initializeIterator function core/modules/user/src/Plugin/migrate/source/d6/UserPictureFile.php Initializes the iterator with the source data.
UserPictureInstance::initializeIterator function core/modules/user/src/Plugin/migrate/source/UserPictureInstance.php Initializes the iterator with the source data.
UserRegisterFormTest::testRegistrationFormStorage function core/modules/user/tests/src/FunctionalJavascript/UserRegisterFormTest.php Tests if registration form writes to localStorage.
UserRegistrationResourceTest::$passwordGenerator property core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php The password generator.
UserRegistrationRestTest::createRequestOptions function core/modules/user/tests/src/Functional/UserRegistrationRestTest.php Helper function to generate the request body.
UserRoleAdminTest::testRoleWeightOrdering function core/modules/user/tests/src/Functional/UserRoleAdminTest.php Tests user role weight change operation and ordering.
UserRoleEntityTest::testOrderOfPermissions function core/modules/user/tests/src/Kernel/UserRoleEntityTest.php Tests the order of granted permissions in a role.
UserSession::getRoleStorage function core/lib/Drupal/Core/Session/UserSession.php Returns the role storage object.
UserSessionRepository class core/lib/Drupal/Core/Session/UserSessionRepository.php Provides the default user session repository.
UserSessionRepository.php file core/lib/Drupal/Core/Session/UserSessionRepository.php
UserSessionRepository::deleteAll function core/lib/Drupal/Core/Session/UserSessionRepository.php
UserSessionRepository::__construct function core/lib/Drupal/Core/Session/UserSessionRepository.php
UserSessionRepositoryInterface interface core/lib/Drupal/Core/Session/UserSessionRepositoryInterface.php Provides an interface for the user session repository.
UserSessionRepositoryInterface.php file core/lib/Drupal/Core/Session/UserSessionRepositoryInterface.php
UserSessionRepositoryInterface::deleteAll function core/lib/Drupal/Core/Session/UserSessionRepositoryInterface.php Delete all session records of the given user.
UserStorage class core/modules/user/src/UserStorage.php Controller class for users.
UserStorage.php file core/modules/user/src/UserStorage.php
UserStorage::deleteRoleReferences function core/modules/user/src/UserStorage.php Delete role references.
UserStorage::doSaveFieldItems function core/modules/user/src/UserStorage.php Writes entity field values to the storage.
UserStorage::updateLastAccessTimestamp function core/modules/user/src/UserStorage.php Update the last access timestamp of the user.
UserStorage::updateLastLoginTimestamp function core/modules/user/src/UserStorage.php Update the last login timestamp of the user.
UserStorageInterface interface core/modules/user/src/UserStorageInterface.php Defines an interface for user entity storage classes.
UserStorageInterface.php file core/modules/user/src/UserStorageInterface.php
UserStorageInterface::deleteRoleReferences function core/modules/user/src/UserStorageInterface.php Delete role references.
UserStorageInterface::updateLastAccessTimestamp function core/modules/user/src/UserStorageInterface.php Update the last access timestamp of the user.
UserStorageInterface::updateLastLoginTimestamp function core/modules/user/src/UserStorageInterface.php Update the last login timestamp of the user.
UserStorageSchema class core/modules/user/src/UserStorageSchema.php Defines the user schema handler.
UserStorageSchema.php file core/modules/user/src/UserStorageSchema.php
UserStorageSchema::getEntitySchema function core/modules/user/src/UserStorageSchema.php Gets the entity schema for the specified entity type.

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