| User::getPreferredAdminLangcode |
function |
core/modules/user/src/Entity/User.php |
Returns the preferred administrative language code of the account. |
| User::getPreferredLangcode |
function |
core/modules/user/src/Entity/User.php |
Returns the preferred language code of the account. |
| User::getProcess |
function |
core/modules/user/src/Plugin/migrate/User.php |
Gets the normalized process plugin configuration. |
| User::getRoles |
function |
core/modules/user/src/Entity/User.php |
Returns a list of roles. |
| User::getRoleStorage |
function |
core/modules/user/src/Entity/User.php |
Returns the role storage object. |
| User::getTimeZone |
function |
core/modules/user/src/Entity/User.php |
Returns the timezone 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 |
Prepares query object to retrieve data from the source database. |
| User::query |
function |
core/modules/user/src/Plugin/migrate/source/d7/User.php |
Prepares query object to retrieve data from the source database. |
| 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(). |