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 |
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. |
UserJsonBasicAuthTest |
class |
core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthTest.php |
@group rest |
UserJsonBasicAuthTest.php |
file |
core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthTest.php |
|
UserJsonBasicAuthTest::$auth |
property |
core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthTest.php |
The authentication mechanism to use in this test. |
UserJsonBasicAuthTest::$defaultTheme |
property |
core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthTest.php |
The theme to install as the default for testing. |
UserJsonBasicAuthTest::$format |
property |
core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthTest.php |
The format to use in this test. |
UserJsonBasicAuthTest::$mimeType |
property |
core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthTest.php |
The MIME type that corresponds to $format. |
UserJsonBasicAuthTest::$modules |
property |
core/modules/user/tests/src/Functional/Rest/UserJsonBasicAuthTest.php |
Modules to install. |
UserJsonCookieTest |
class |
core/modules/user/tests/src/Functional/Rest/UserJsonCookieTest.php |
@group rest |
UserJsonCookieTest.php |
file |
core/modules/user/tests/src/Functional/Rest/UserJsonCookieTest.php |
|
UserJsonCookieTest::$auth |
property |
core/modules/user/tests/src/Functional/Rest/UserJsonCookieTest.php |
The authentication mechanism to use in this test. |
UserJsonCookieTest::$defaultTheme |
property |
core/modules/user/tests/src/Functional/Rest/UserJsonCookieTest.php |
The theme to install as the default for testing. |
UserJsonCookieTest::$format |
property |
core/modules/user/tests/src/Functional/Rest/UserJsonCookieTest.php |
The format to use in this test. |
UserJsonCookieTest::$mimeType |
property |
core/modules/user/tests/src/Functional/Rest/UserJsonCookieTest.php |
The MIME type that corresponds to $format. |
UserKernelTestBase |
class |
core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php |
Provides a common test base for user views tests. |
UserKernelTestBase.php |
file |
core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php |
|
UserKernelTestBase::$modules |
property |
core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php |
Modules to enable. |
UserKernelTestBase::$roleStorage |
property |
core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php |
The entity storage for roles. |
UserKernelTestBase::$users |
property |
core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php |
Users to use during this test. |
UserKernelTestBase::$userStorage |
property |
core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php |
The entity storage for users. |
UserKernelTestBase::setUp |
function |
core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php |
|
UserKernelTestBase::setupPermissionTestData |
function |
core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php |
Set some test data for permission related tests. |