| UserHooks::toolbar |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_toolbar(). |
| UserHooks::userLogin |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_user_login(). |
| UserHooks::userLogout |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_user_logout(). |
| UserHooks::userRoleDelete |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_ENTITY_TYPE_delete() for user_role entities. |
| UserHooks::userRoleInsert |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_ENTITY_TYPE_insert() for user_role entities. |
| UserHooks::userView |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_ENTITY_TYPE_view() for user entities. |
| UserHooks::userViewAlter |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_ENTITY_TYPE_view_alter() for user entities. |
| UserHooksTest |
class |
core/modules/user/tests/modules/user_hooks_test/src/Hook/UserHooksTest.php |
Contains hook implementations. |
| UserHooksTest.php |
file |
core/modules/user/tests/modules/user_hooks_test/src/Hook/UserHooksTest.php |
|
| UserHooksTest::userFormatNameAlter |
function |
core/modules/user/tests/modules/user_hooks_test/src/Hook/UserHooksTest.php |
Alters the username. |
| 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 |
Tests User Json Anon. |
| 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. |