Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| AccountInterface | interface | core/ |
Defines an account interface which represents the current user. |
| AccountInterface.php | file | core/ |
|
| AccountInterface::ANONYMOUS_ROLE | constant | core/ |
Role ID for anonymous users. |
| AccountInterface::AUTHENTICATED_ROLE | constant | core/ |
Role ID for authenticated users. |
| AccountInterface::getAccountName | function | core/ |
Returns the unaltered login name of this account. |
| AccountInterface::getDisplayName | function | core/ |
Returns the display name of this account. |
| 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::hasRole | function | core/ |
Whether a user has a certain role. |
| 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/ |
The account permission cache context for "per permission" caching. |
| AccountPermissionsCacheContext.php | file | core/ |
|
| AccountPermissionsCacheContext::$permissionsHashGenerator | property | core/ |
The permissions hash generator. |
| AccountPermissionsCacheContext::getCacheableMetadata | function | core/ |
|
| AccountPermissionsCacheContext::getContext | function | core/ |
|
| AccountPermissionsCacheContext::getLabel | function | core/ |
|
| 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. |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.