Search for user

  1. Search 7.x for user
  2. Search 9.5.x for user
  3. Search 8.9.x for user
  4. Search 11.x for user
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
User class core/modules/user/src/Entity/User.php Defines the user entity class.
User class core/modules/user/src/Plugin/views/argument_validator/User.php Validate whether an argument is a valid user.
User class core/modules/user/src/Plugin/views/argument_default/User.php Default argument plugin to extract a user from request.
User class core/modules/user/src/Plugin/migrate/source/d6/User.php Drupal 6 user source from database.
User class core/modules/user/src/Plugin/migrate/source/d7/User.php Drupal 7 user source from database.
User class core/modules/user/src/Plugin/migrate/User.php Plugin class for Drupal 7 user migrations dealing with fields and profiles.

All search results

Title Object type File name Summary
UserFloodSubscriber.php file core/modules/user/src/EventSubscriber/UserFloodSubscriber.php
UserFloodSubscriber::$logger property core/modules/user/src/EventSubscriber/UserFloodSubscriber.php The default logger service.
UserFloodSubscriber::blockedIp function core/modules/user/src/EventSubscriber/UserFloodSubscriber.php An attempt to login has been blocked based on IP.
UserFloodSubscriber::blockedUser function core/modules/user/src/EventSubscriber/UserFloodSubscriber.php An attempt to login has been blocked based on user name.
UserFloodSubscriber::getSubscribedEvents function core/modules/user/src/EventSubscriber/UserFloodSubscriber.php
UserFloodSubscriber::__construct function core/modules/user/src/EventSubscriber/UserFloodSubscriber.php Constructs a UserFloodSubscriber.
UserHelpersTest class core/tests/Drupal/FunctionalTests/UserHelpersTest.php Tests User related helper methods of BrowserTestBase.
UserHelpersTest.php file core/tests/Drupal/FunctionalTests/UserHelpersTest.php
UserHelpersTest::$defaultTheme property core/tests/Drupal/FunctionalTests/UserHelpersTest.php The theme to install as the default for testing.
UserHelpersTest::testDrupalUserIsLoggedIn function core/tests/Drupal/FunctionalTests/UserHelpersTest.php Tests BrowserTestBase::drupalUserIsLoggedIn().
UserInstallTest class core/modules/user/tests/src/Kernel/UserInstallTest.php Tests user_install().
UserInstallTest.php file core/modules/user/tests/src/Kernel/UserInstallTest.php
UserInstallTest::$modules property core/modules/user/tests/src/Kernel/UserInstallTest.php Modules to install.
UserInstallTest::setUp function core/modules/user/tests/src/Kernel/UserInstallTest.php
UserInstallTest::testUserInstall function core/modules/user/tests/src/Kernel/UserInstallTest.php Tests that the initial users have correct values.
UserInterface interface core/modules/user/src/UserInterface.php Provides an interface defining a user entity.
UserInterface.php file core/modules/user/src/UserInterface.php
UserInterface::activate function core/modules/user/src/UserInterface.php Activates the user.
UserInterface::addRole function core/modules/user/src/UserInterface.php Add a role to a user.
UserInterface::block function core/modules/user/src/UserInterface.php Blocks the user.
UserInterface::checkExistingPassword function core/modules/user/src/UserInterface.php Checks the existing password if set.
UserInterface::getCreatedTime function core/modules/user/src/UserInterface.php Returns the creation time of the user as a UNIX timestamp.
UserInterface::getInitialEmail function core/modules/user/src/UserInterface.php Returns the email that was used when the user was registered.
UserInterface::getLastLoginTime function core/modules/user/src/UserInterface.php Returns the UNIX timestamp when the user last logged in.
UserInterface::getPassword function core/modules/user/src/UserInterface.php Returns the hashed password.
UserInterface::hasRole function core/modules/user/src/UserInterface.php Whether a user has a certain role.
UserInterface::isActive function core/modules/user/src/UserInterface.php Returns TRUE if the user is active.
UserInterface::isBlocked function core/modules/user/src/UserInterface.php Returns TRUE if the user is blocked.
UserInterface::REGISTER_ADMINISTRATORS_ONLY constant core/modules/user/src/UserInterface.php Only administrators can create user accounts.
UserInterface::REGISTER_VISITORS constant core/modules/user/src/UserInterface.php Visitors can create their own accounts.
UserInterface::REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL constant core/modules/user/src/UserInterface.php Visitors can create accounts that only become active with admin approval.
UserInterface::removeRole function core/modules/user/src/UserInterface.php Remove a role from a user.
UserInterface::setEmail function core/modules/user/src/UserInterface.php Sets the email address of the user.
UserInterface::setExistingPassword function core/modules/user/src/UserInterface.php Sets the existing plain text password.
UserInterface::setLastAccessTime function core/modules/user/src/UserInterface.php Sets the UNIX timestamp when the user last accessed the site..
UserInterface::setLastLoginTime function core/modules/user/src/UserInterface.php Sets the UNIX timestamp when the user last logged in.
UserInterface::setPassword function core/modules/user/src/UserInterface.php Sets the user password.
UserInterface::setUsername function core/modules/user/src/UserInterface.php Sets the username of this account.
UserInterface::TIMEZONE_DEFAULT constant core/modules/user/src/UserInterface.php New users will be set to the default time zone at registration.
UserInterface::TIMEZONE_EMPTY constant core/modules/user/src/UserInterface.php New users will get an empty time zone at registration.
UserInterface::TIMEZONE_SELECT constant core/modules/user/src/UserInterface.php New users will select their own timezone at registration.
UserInterface::USERNAME_MAX_LENGTH constant core/modules/user/src/UserInterface.php Maximum length of username text field.
UserJsonAnonTest class core/modules/user/tests/src/Functional/Rest/UserJsonAnonTest.php @group rest
@group #slow
UserJsonAnonTest.php file core/modules/user/tests/src/Functional/Rest/UserJsonAnonTest.php
UserJsonAnonTest::$defaultTheme property core/modules/user/tests/src/Functional/Rest/UserJsonAnonTest.php The theme to install as the default for testing.
UserJsonAnonTest::$format property core/modules/user/tests/src/Functional/Rest/UserJsonAnonTest.php The format to use in this test.
UserJsonAnonTest::$mimeType property core/modules/user/tests/src/Functional/Rest/UserJsonAnonTest.php The MIME type that corresponds to $format.
UserJsonBasicAuthDecoratedTest class core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthDecoratedTest.php Run UserJsonBasicAuthTest with a user.auth decorator.
UserJsonBasicAuthDecoratedTest.php file core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthDecoratedTest.php
UserJsonBasicAuthDecoratedTest::$modules property core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthDecoratedTest.php Modules to install.

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