Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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/ |
Tests Drupal\Core\Session\AccountProxy. |
| AccountProxyTest.php | file | core/ |
|
| AccountProxyTest::testHasRole | function | core/ |
Tests has role. |
| AccountProxyTest::testId | function | core/ |
Tests id. |
| AccountProxyTest::testSetInitialAccountIdException | function | core/ |
Tests set initial account id exception. |
| AccountSetEvent | class | core/ |
Event fired when an account is set for the current session. |
| AccountSetEvent.php | file | core/ |
|
| AccountSetEvent::$account | property | core/ |
The set account. |
| AccountSetEvent::getAccount | function | core/ |
Gets the account. |
| AccountSetEvent::__construct | function | core/ |
AccountSetEvent constructor. |
| AccountSettingsForm | class | core/ |
Configure user settings for this site. |
| AccountSettingsForm.php | file | core/ |
|
| AccountSettingsForm::$moduleHandler | property | core/ |
The module handler. |
| AccountSettingsForm::$roleStorage | property | core/ |
The role storage used when changing the admin role. |
| AccountSettingsForm::buildForm | function | core/ |
Form constructor. |
| AccountSettingsForm::create | function | core/ |
Instantiates a new instance of this class. |
| AccountSettingsForm::getEditableConfigNames | function | core/ |
Gets the configuration names that will be editable. |
| AccountSettingsForm::getFormId | function | core/ |
Returns a unique string identifying the form. |
| AccountSettingsForm::__construct | function | core/ |
Constructs a \Drupal\user\AccountSettingsForm object. |
| AccountSwitcher | class | core/ |
An implementation of AccountSwitcherInterface. |
| AccountSwitcher.php | file | core/ |
|
| AccountSwitcher::$accountStack | property | core/ |
A stack of previous overridden accounts. |
| AccountSwitcher::$currentUser | property | core/ |
The current user service. |
| AccountSwitcher::$originalSessionSaving | property | core/ |
The original state of session saving prior to account switching. |
| AccountSwitcher::$writeSafeHandler | property | core/ |
The write-safe session handler. |
| AccountSwitcher::switchBack | function | core/ |
Reverts to a previous account after switching. |
| AccountSwitcher::switchTo | function | core/ |
Safely switches to another account. |
| AccountSwitcher::__construct | function | core/ |
Constructs a new AccountSwitcher. |
| AccountSwitcherInterface | interface | core/ |
Defines an interface for a service for safe account switching. |
| AccountSwitcherInterface.php | file | core/ |
|
| AccountSwitcherInterface::switchBack | function | core/ |
Reverts to a previous account after switching. |
| AccountSwitcherInterface::switchTo | function | core/ |
Safely switches to another account. |
| AccountSwitcherTest | class | core/ |
Test case for account switching. |
| AccountSwitcherTest.php | file | core/ |
|
| AccountSwitcherTest::testAccountSwitching | function | core/ |
Tests the account switching, switching to and switching back. |
| AccountTakeoverGadgetChainTest | class | core/ |
Tests protection against SA-CORE-2024-007 Gadget Chain. |
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.