Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 8.9.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| UserSession | class | core/ |
An implementation of the user account interface for the global user. |
| UserSession.php | file | core/ |
|
| UserSession::$access | property | core/ |
The Unix timestamp when the user last accessed the site. |
| UserSession::$mail | property | core/ |
The email address of this account. |
| UserSession::$name | property | core/ |
The name of this account. |
| UserSession::$preferred_admin_langcode | property | core/ |
The preferred administrative language code of the account. |
| UserSession::$preferred_langcode | property | core/ |
The preferred language code of the account. |
| UserSession::$roles | property | core/ |
List of the roles this user has. |
| UserSession::$timezone | property | core/ |
The timezone of this account. |
| UserSession::$uid | property | core/ |
User ID. |
| UserSession::getAccountName | function | core/ |
Returns the unaltered login name of this account. |
| UserSession::getDisplayName | function | core/ |
Returns the display name of this account. |
| UserSession::getEmail | function | core/ |
Returns the email address of this account. |
| UserSession::getLastAccessedTime | function | core/ |
The timestamp when the account last accessed the site. |
| UserSession::getPreferredAdminLangcode | function | core/ |
Returns the preferred administrative language code of the account. |
| UserSession::getPreferredLangcode | function | core/ |
Returns the preferred language code of the account. |
| UserSession::getRoles | function | core/ |
Returns a list of roles. |
| UserSession::getRoleStorage | function | core/ |
Returns the role storage object. |
| UserSession::getTimeZone | function | core/ |
Returns the timezone of this account. |
| UserSession::hasPermission | function | core/ |
Checks whether a user has a certain permission. |
| UserSession::hasRole | function | core/ |
Whether a user has a certain role. |
| UserSession::id | function | core/ |
Returns the user ID or 0 for anonymous. |
| UserSession::isAnonymous | function | core/ |
Returns TRUE if the account is anonymous. |
| UserSession::isAuthenticated | function | core/ |
Returns TRUE if the account is authenticated. |
| UserSession::__construct | function | core/ |
Constructs a new user session. |
| UserSessionRepository | class | core/ |
Provides the default user session repository. |
| UserSessionRepository.php | file | core/ |
|
| UserSessionRepository::deleteAll | function | core/ |
|
| UserSessionRepository::__construct | function | core/ |
|
| UserSessionRepositoryInterface | interface | core/ |
Provides an interface for the user session repository. |
| UserSessionRepositoryInterface.php | file | core/ |
|
| UserSessionRepositoryInterface::deleteAll | function | core/ |
Delete all session records of the given user. |
| UserSessionTest | class | core/ |
Tests Drupal\Core\Session\UserSession. |
| UserSessionTest.php | file | core/ |
|
| UserSessionTest::createUserSession | function | core/ |
Setups a user session for the test. |
| UserSessionTest::testGetLastAccessedTime | function | core/ |
Tests that ::getLastAccessedTime() returns an integer. |
| UserSessionTest::testHasPermission | function | core/ |
Tests the has permission method. |
| UserSessionTest::testHasRole | function | core/ |
Tests the hasRole method. |
| UserSessionTest::testUserGetRoles | function | core/ |
Tests the method getRoles exclude or include locked roles based in param. |
| UserStorage | class | core/ |
Controller class for users. |
| UserStorage.php | file | core/ |
|
| UserStorage::deleteRoleReferences | function | core/ |
Delete role references. |
| UserStorage::doSaveFieldItems | function | core/ |
Writes entity field values to the storage. |
| UserStorage::updateLastAccessTimestamp | function | core/ |
Update the last access timestamp of the user. |
| UserStorage::updateLastLoginTimestamp | function | core/ |
Update the last login timestamp of the user. |
| UserStorageInterface | interface | core/ |
Defines an interface for user entity storage classes. |
| UserStorageInterface.php | file | core/ |
|
| UserStorageInterface::deleteRoleReferences | function | core/ |
Delete role references. |
| UserStorageInterface::updateLastAccessTimestamp | function | core/ |
Update the last access timestamp of the user. |
| UserStorageInterface::updateLastLoginTimestamp | function | core/ |
Update the last login timestamp of the user. |
Pagination
- Previous page
- Page 1541
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.