| 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(). |
| UserHooks |
class |
core/modules/user/src/Hook/UserHooks.php |
Hook implementations for user. |
| UserHooks.php |
file |
core/modules/user/src/Hook/UserHooks.php |
|
| UserHooks::elementInfoAlter |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_element_info_alter(). |
| UserHooks::entityExtraFieldInfo |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_entity_extra_field_info(). |
| UserHooks::entityOperation |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_entity_operation(). |
| UserHooks::filterFormatDisable |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_filter_format_disable(). |
| UserHooks::formSystemRegionalSettingsAlter |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_form_FORM_ID_alter() for \Drupal\system\Form\RegionalForm. |
| UserHooks::help |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_help(). |
| UserHooks::jsSettingsAlter |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_js_settings_alter(). |
| UserHooks::mail |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_mail(). |
| UserHooks::modulesUninstalled |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_modules_uninstalled(). |
| UserHooks::templatePreprocessDefaultVariablesAlter |
function |
core/modules/user/src/Hook/UserHooks.php |
Implements hook_template_preprocess_default_variables_alter(). |
| 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::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. |