Search for all
Title | Object type | File name | Summary |
---|---|---|---|
AccountInterface::getEmail | function | core/ |
Returns the email address of this account. |
AccountInterface::getLastAccessedTime | function | core/ |
The timestamp when the account last accessed the site. |
AccountInterface::getPreferredAdminLangcode | function | core/ |
Returns the preferred administrative language code of the account. |
AccountInterface::getPreferredLangcode | function | core/ |
Returns the preferred language code of the account. |
AccountInterface::getRoles | function | core/ |
Returns a list of roles. |
AccountInterface::getTimeZone | function | core/ |
Returns the timezone of this account. |
AccountInterface::hasPermission | function | core/ |
Checks whether a user has a certain permission. |
AccountInterface::id | function | core/ |
Returns the user ID or 0 for anonymous. |
AccountInterface::isAnonymous | function | core/ |
Returns TRUE if the account is anonymous. |
AccountInterface::isAuthenticated | function | core/ |
Returns TRUE if the account is authenticated. |
AccountPermissionsCacheContext | class | core/ |
Defines the AccountPermissionsCacheContext service, for "per permission" caching. |
AccountPermissionsCacheContext.php | file | core/ |
|
AccountPermissionsCacheContext::$permissionsHashGenerator | property | core/ |
The permissions hash generator. |
AccountPermissionsCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
AccountPermissionsCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
AccountPermissionsCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
AccountPermissionsCacheContext::__construct | function | core/ |
Constructs a new UserCacheContext service. |
AccountProxy | class | core/ |
A proxied implementation of AccountInterface. |
AccountProxy.php | file | core/ |
|
AccountProxy::$account | property | core/ |
The instantiated account. |
AccountProxy::$eventDispatcher | property | core/ |
Event dispatcher. |
AccountProxy::$id | property | core/ |
Account id. |
AccountProxy::getAccount | function | core/ |
|
AccountProxy::getAccountName | function | core/ |
|
AccountProxy::getDisplayName | function | core/ |
|
AccountProxy::getEmail | function | core/ |
|
AccountProxy::getLastAccessedTime | function | core/ |
|
AccountProxy::getPreferredAdminLangcode | function | core/ |
|
AccountProxy::getPreferredLangcode | function | core/ |
|
AccountProxy::getRoles | function | core/ |
|
AccountProxy::getTimeZone | function | core/ |
|
AccountProxy::hasPermission | function | core/ |
|
AccountProxy::hasRole | function | core/ |
Whether a user has a certain role. |
AccountProxy::id | function | core/ |
|
AccountProxy::isAnonymous | function | core/ |
|
AccountProxy::isAuthenticated | function | core/ |
|
AccountProxy::loadUserEntity | function | core/ |
Load a user entity. |
AccountProxy::setAccount | function | core/ |
|
AccountProxy::setInitialAccountId | function | core/ |
|
AccountProxy::__construct | function | core/ |
AccountProxy constructor. |
AccountProxyInterface | interface | core/ |
Defines an interface for a service which has the current account stored. |
AccountProxyInterface.php | file | core/ |
|
AccountProxyInterface::getAccount | function | core/ |
Gets the currently wrapped account. |
AccountProxyInterface::setAccount | function | core/ |
Sets the currently wrapped account. |
AccountProxyInterface::setInitialAccountId | function | core/ |
Sets the id of the initial account. |
AccountProxyTest | class | core/ |
@coversDefaultClass \Drupal\Core\Session\AccountProxy @group Session |
AccountProxyTest.php | file | core/ |
|
AccountProxyTest::testHasRole | function | core/ |
@covers ::hasRole |
AccountProxyTest::testId | function | core/ |
@covers ::id @covers ::setInitialAccountId |
AccountProxyTest::testSetInitialAccountIdException | function | core/ |
@covers ::setInitialAccountId |
Pagination
- Previous page
- Page 10
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.