| UserSession::$access |
property |
core/lib/Drupal/Core/Session/UserSession.php |
The Unix timestamp when the user last accessed the site. |
| UserSession::$mail |
property |
core/lib/Drupal/Core/Session/UserSession.php |
The email address of this account. |
| UserSession::$name |
property |
core/lib/Drupal/Core/Session/UserSession.php |
The name of this account. |
| UserSession::$preferred_admin_langcode |
property |
core/lib/Drupal/Core/Session/UserSession.php |
The preferred administrative language code of the account. |
| UserSession::$preferred_langcode |
property |
core/lib/Drupal/Core/Session/UserSession.php |
The preferred language code of the account. |
| UserSession::$roles |
property |
core/lib/Drupal/Core/Session/UserSession.php |
List of the roles this user has. |
| UserSession::$timezone |
property |
core/lib/Drupal/Core/Session/UserSession.php |
The timezone of this account. |
| UserSession::$uid |
property |
core/lib/Drupal/Core/Session/UserSession.php |
User ID. |
| UserSession::getAccountName |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the unaltered login name of this account. |
| UserSession::getDisplayName |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the display name of this account. |
| UserSession::getEmail |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the email address of this account. |
| UserSession::getLastAccessedTime |
function |
core/lib/Drupal/Core/Session/UserSession.php |
The timestamp when the account last accessed the site. |
| UserSession::getPreferredAdminLangcode |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the preferred administrative language code of the account. |
| UserSession::getPreferredLangcode |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the preferred language code of the account. |
| UserSession::getRoles |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns a list of roles. |
| UserSession::getRoleStorage |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the role storage object. |
| UserSession::getTimeZone |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the timezone of this account. |
| UserSession::hasPermission |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Checks whether a user has a certain permission. |
| UserSession::hasRole |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Whether a user has a certain role. |
| UserSession::id |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the user ID or 0 for anonymous. |
| UserSession::isAnonymous |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns TRUE if the account is anonymous. |
| UserSession::isAuthenticated |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns TRUE if the account is authenticated. |
| UserSession::__construct |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Constructs a new user session. |
| UserSession::__get |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Implements magic __get() method. |
| UserSession::__isset |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Implements magic __isset() method. |
| UserSession::__set |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Implements magic __set() method. |
| UserSessionTest |
class |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
Tests Drupal\Core\Session\UserSession. |
| UserSessionTest.php |
file |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
|
| UserSessionTest::createUserSession |
function |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
Setups a user session for the test. |
| UserSessionTest::testHasPermission |
function |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
Tests the has permission method. |
| UserSessionTest::testHasRole |
function |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
Tests the hasRole method. |
| UserSessionTest::testNamePropertyDeprecation |
function |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
Tests the name property deprecation. |
| UserSessionTest::testUserGetRoles |
function |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
Tests the method getRoles exclude or include locked roles based in param. |
| UserStorage |
class |
core/modules/user/src/UserStorage.php |
Controller class for users. |
| UserStorage.php |
file |
core/modules/user/src/UserStorage.php |
|
| UserStorage::deleteRoleReferences |
function |
core/modules/user/src/UserStorage.php |
Delete role references. |
| UserStorage::doSaveFieldItems |
function |
core/modules/user/src/UserStorage.php |
Writes entity field values to the storage. |
| UserStorage::updateLastAccessTimestamp |
function |
core/modules/user/src/UserStorage.php |
Update the last access timestamp of the user. |
| UserStorage::updateLastLoginTimestamp |
function |
core/modules/user/src/UserStorage.php |
Update the last login timestamp of the user. |
| UserStorageInterface |
interface |
core/modules/user/src/UserStorageInterface.php |
Defines an interface for user entity storage classes. |
| UserStorageInterface.php |
file |
core/modules/user/src/UserStorageInterface.php |
|
| UserStorageInterface::deleteRoleReferences |
function |
core/modules/user/src/UserStorageInterface.php |
Delete role references. |
| UserStorageInterface::updateLastAccessTimestamp |
function |
core/modules/user/src/UserStorageInterface.php |
Update the last access timestamp of the user. |
| UserStorageInterface::updateLastLoginTimestamp |
function |
core/modules/user/src/UserStorageInterface.php |
Update the last login timestamp of the user. |
| UserStorageSchema |
class |
core/modules/user/src/UserStorageSchema.php |
Defines the user schema handler. |
| UserStorageSchema.php |
file |
core/modules/user/src/UserStorageSchema.php |
|
| UserStorageSchema::getEntitySchema |
function |
core/modules/user/src/UserStorageSchema.php |
Gets the entity schema for the specified entity type. |
| UserStorageSchema::getSharedTableFieldSchema |
function |
core/modules/user/src/UserStorageSchema.php |
Gets the schema for a single field definition. |
| UserSubAdminTest |
class |
core/modules/user/tests/src/Functional/UserSubAdminTest.php |
Test 'sub-admin' account with permission to edit some users but without 'administer users' permission. |
| UserSubAdminTest.php |
file |
core/modules/user/tests/src/Functional/UserSubAdminTest.php |
|