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/ |
Gets the currently wrapped account. |
| AccountProxy::getAccountName | function | core/ |
Returns the unaltered login name of this account. |
| AccountProxy::getDisplayName | function | core/ |
Returns the display name of this account. |
| AccountProxy::getEmail | function | core/ |
Returns the email address of this account. |
| AccountProxy::getLastAccessedTime | function | core/ |
The timestamp when the account last accessed the site. |
| AccountProxy::getPreferredAdminLangcode | function | core/ |
Returns the preferred administrative language code of the account. |
| AccountProxy::getPreferredLangcode | function | core/ |
Returns the preferred language code of the account. |
| AccountProxy::getRoles | function | core/ |
Returns a list of roles. |
| AccountProxy::getTimeZone | function | core/ |
Returns the timezone of this account. |
| AccountProxy::hasPermission | function | core/ |
Checks whether a user has a certain permission. |
| AccountProxy::hasRole | function | core/ |
Whether a user has a certain role. |
| AccountProxy::id | function | core/ |
Returns the user ID or 0 for anonymous. |
| AccountProxy::isAnonymous | function | core/ |
Returns TRUE if the account is anonymous. |
| AccountProxy::isAuthenticated | function | core/ |
Returns TRUE if the account is authenticated. |
| AccountProxy::loadUserEntity | function | core/ |
Load a user entity. |
| AccountProxy::setAccount | function | core/ |
Sets the currently wrapped account. |
| AccountProxy::setInitialAccountId | function | core/ |
Sets the id of the initial account. |
| 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[[api-linebreak]] @group Session |
| AccountProxyTest.php | file | core/ |
|
| AccountProxyTest::testHasRole | function | core/ |
@covers ::hasRole[[api-linebreak]] |
| AccountProxyTest::testId | function | core/ |
@covers ::id[[api-linebreak]] @covers ::setInitialAccountId[[api-linebreak]] |
| AccountProxyTest::testSetInitialAccountIdException | function | core/ |
@covers ::setInitialAccountId[[api-linebreak]] |
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.