User::getTimeZone |
function |
core/modules/user/src/Entity/User.php |
Returns the timezone of this account. |
User::getUsername |
function |
core/modules/user/src/Entity/User.php |
Returns the unaltered login name of this account. |
User::hasPermission |
function |
core/modules/user/src/Entity/User.php |
Checks whether a user has a certain permission. |
User::hasRole |
function |
core/modules/user/src/Entity/User.php |
Whether a user has a certain role. |
User::isActive |
function |
core/modules/user/src/Entity/User.php |
Returns TRUE if the user is active. |
User::isAnonymous |
function |
core/modules/user/src/Entity/User.php |
Returns TRUE if the account is anonymous. |
User::isAuthenticated |
function |
core/modules/user/src/Entity/User.php |
Returns TRUE if the account is authenticated. |
User::isBlocked |
function |
core/modules/user/src/Entity/User.php |
Returns TRUE if the user is blocked. |
User::isNew |
function |
core/modules/user/src/Entity/User.php |
Determines whether the entity is new. |
User::label |
function |
core/modules/user/src/Entity/User.php |
Gets the label of the entity. |
User::postDelete |
function |
core/modules/user/src/Entity/User.php |
Acts on deleted entities before the delete hook is invoked. |
User::postSave |
function |
core/modules/user/src/Entity/User.php |
Acts on a saved entity before the insert or update hook is invoked. |
User::prepareRow |
function |
core/modules/user/src/Plugin/migrate/source/d6/User.php |
Adds additional data to the row. |
User::prepareRow |
function |
core/modules/user/src/Plugin/migrate/source/d7/User.php |
Adds additional data to the row. |
User::preSave |
function |
core/modules/user/src/Entity/User.php |
Acts on an entity before the presave hook is invoked. |
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 an \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::$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. |