User::query |
function |
core/modules/user/src/Plugin/migrate/source/d6/User.php |
|
User::query |
function |
core/modules/user/src/Plugin/migrate/source/d7/User.php |
|
User::removeRole |
function |
core/modules/user/src/Entity/User.php |
Remove a role from a user. |
User::setEmail |
function |
core/modules/user/src/Entity/User.php |
Sets the email address of the user. |
User::setExistingPassword |
function |
core/modules/user/src/Entity/User.php |
Sets the existing plain text password. |
User::setLastAccessTime |
function |
core/modules/user/src/Entity/User.php |
Sets the UNIX timestamp when the user last accessed the site.. |
User::setLastLoginTime |
function |
core/modules/user/src/Entity/User.php |
Sets the UNIX timestamp when the user last logged in. |
User::setPassword |
function |
core/modules/user/src/Entity/User.php |
Sets the user password. |
User::setUsername |
function |
core/modules/user/src/Entity/User.php |
Sets the username of this account. |
User::submitOptionsForm |
function |
core/modules/user/src/Plugin/views/argument_validator/User.php |
Provides the default form for submitting options. |
User::validateEntity |
function |
core/modules/user/src/Plugin/views/argument_validator/User.php |
Validates an individual entity against class access settings. |
User::__construct |
function |
core/modules/user/src/Plugin/views/argument_validator/User.php |
Constructs a \Drupal\views\Plugin\views\argument_validator\Entity object. |
User::__construct |
function |
core/modules/user/src/Plugin/views/argument_default/User.php |
Constructs a new User instance. |
UserAccessControlHandler |
class |
core/modules/user/src/UserAccessControlHandler.php |
Defines the access control handler for the user entity type. |
UserAccessControlHandler.php |
file |
core/modules/user/src/UserAccessControlHandler.php |
|
UserAccessControlHandler::$viewLabelOperation |
property |
core/modules/user/src/UserAccessControlHandler.php |
Allow access to user label. |
UserAccessControlHandler::checkAccess |
function |
core/modules/user/src/UserAccessControlHandler.php |
Performs access checks. |
UserAccessControlHandler::checkFieldAccess |
function |
core/modules/user/src/UserAccessControlHandler.php |
Default field access as determined by this access control handler. |
UserAccessControlHandlerTest |
class |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Tests the user access controller. |
UserAccessControlHandlerTest.php |
file |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
|
UserAccessControlHandlerTest::$accessControlHandler |
property |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
The user access controller to test. |
UserAccessControlHandlerTest::$admin |
property |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
The mock administrative test user. |
UserAccessControlHandlerTest::$emailViewer |
property |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
The mock user account with 'view user email addresses' permission. |
UserAccessControlHandlerTest::$items |
property |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
The mocked test field items. |
UserAccessControlHandlerTest::$owner |
property |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
The mock user account that is able to change their own account name. |
UserAccessControlHandlerTest::$viewer |
property |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
The mock user account with view access. |
UserAccessControlHandlerTest::adminFieldAccessProvider |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Provides test data for testAdminFieldAccess(). |
UserAccessControlHandlerTest::assertFieldAccess |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Asserts correct field access grants for a field. |
UserAccessControlHandlerTest::createdAccessProvider |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Provides test data for testCreatedAccess(). |
UserAccessControlHandlerTest::hiddenUserSettingsProvider |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Provides test data for testHiddenUserSettings(). |
UserAccessControlHandlerTest::NonExistingFieldAccessProvider |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Provides test data for testNonExistingFieldAccess(). |
UserAccessControlHandlerTest::passwordAccessProvider |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Provides test data for passwordAccessProvider(). |
UserAccessControlHandlerTest::setUp |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
|
UserAccessControlHandlerTest::testAdminFieldAccess |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Tests that private user settings cannot be viewed by other users. |
UserAccessControlHandlerTest::testCreatedAccess |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Tests the user created field access. |
UserAccessControlHandlerTest::testHiddenUserSettings |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Tests that private user settings cannot be viewed by other users. |
UserAccessControlHandlerTest::testNonExistingFieldAccess |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Tests access to a non-existing base field. |
UserAccessControlHandlerTest::testPasswordAccess |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Tests that passwords cannot be viewed, just edited. |
UserAccessControlHandlerTest::testUserNameAccess |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Ensures user name access is working properly. |
UserAccessControlHandlerTest::userNameProvider |
function |
core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php |
Provides test data for testUserNameAccess(). |
UserAccountFormFieldsTest |
class |
core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php |
Verifies the field order in user account forms. |
UserAccountFormFieldsTest.php |
file |
core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php |
|
UserAccountFormFieldsTest::$modules |
property |
core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php |
Modules to install. |
UserAccountFormFieldsTest::$user |
property |
core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php |
|
UserAccountFormFieldsTest::assertFieldOrder |
function |
core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php |
Asserts that the 'name' form element is directly before the 'pass' element. |
UserAccountFormFieldsTest::buildAccountForm |
function |
core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php |
Builds the user account form for a given operation. |
UserAccountFormFieldsTest::testInstallConfigureForm |
function |
core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php |
Tests the root user account form section in the "Configure site" form. |
UserAccountFormFieldsTest::testUserEditForm |
function |
core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php |
Tests the user edit form. |
UserAccountFormFieldsTest::testUserRegistrationForm |
function |
core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php |
Tests the user registration form. |
UserAccountFormPasswordResetTest |
class |
core/modules/user/tests/src/Kernel/UserAccountFormPasswordResetTest.php |
Verifies that the password reset behaves as expected with form elements. |