Search for account
- Search 7.x for account
- Search 9.5.x for account
- Search 8.9.x for account
- Search 11.x for account
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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/ |
|
account_switcher | service | core/ |
Drupal\Core\Session\AccountSwitcher |
AdminAccountSwitcher | class | core/ |
@internal This API is experimental. |
AdminAccountSwitcher.php | file | core/ |
|
AdminAccountSwitcher::switchBack | function | core/ |
Reverts to a previous account after switching. |
AdminAccountSwitcher::switchTo | function | core/ |
Safely switches to another account. |
AdminAccountSwitcher::switchToAdministrator | function | core/ |
Switches to an administrative account. |
AdminAccountSwitcher::__construct | function | core/ |
|
AdminAccountSwitcherTest | class | core/ |
@covers \Drupal\Core\DefaultContent\AdminAccountSwitcher[[api-linebreak]] @group DefaultContent |
AdminAccountSwitcherTest.php | file | core/ |
|
AdminAccountSwitcherTest::$modules | property | core/ |
Modules to install. |
AdminAccountSwitcherTest::register | function | core/ |
Registers test-specific services. |
AdminAccountSwitcherTest::setUp | function | core/ |
|
AdminAccountSwitcherTest::testNoAdministratorsExist | function | core/ |
Tests that there is an error if there are no administrative users. |
AdminAccountSwitcherTest::testSuperUser | function | core/ |
Tests switching to user 1 when the superuser access policy is enabled. |
AdminAccountSwitcherTest::testSwitchToAdministrator | function | core/ |
Tests switching to a user with an administrative role. |
AdminAccountSwitcherTest::testSwitchToAndSwitchBack | function | core/ |
|
ArgumentValidateTest::$account | property | core/ |
A user for this test. |
AuthenticationSubscriber::$accountProxy | property | core/ |
Account proxy. |
block.block.olivero_account_menu.yml | file | core/ |
core/themes/olivero/config/optional/block.block.olivero_account_menu.yml |
block.block.testing_theme_required_blocks_account_menu.yml | file | core/ |
core/profiles/testing_themes_blocks/themes/testing_theme_required_blocks/config/install/block.block.testing_theme_required_blocks_account_menu.yml |
block.block.umami_account_menu.yml | file | core/ |
core/profiles/demo_umami/config/install/block.block.umami_account_menu.yml |
BlockComponentRenderArrayTest::$account | property | core/ |
The current user. |
BlockContentBlock::$account | property | core/ |
The Drupal account to use for checking for access to block. |
BookBreadcrumbBuilder::$account | property | core/ |
The current user account. |
CKEditor5FragmentLinkTest::$account | property | core/ |
The admin user. |
CommentTestBase::$account | property | core/ |
A normal user with permission to post comments (without approval). |
CommentTestBase::$account2 | property | core/ |
A second normal user that will author a node for $account to comment on. |
ConfigTranslationController::$account | property | core/ |
The current user. |
ConfigTranslationUiTest::testAccountSettingsConfigurationTranslation | function | core/ |
Tests the account settings translation interface. |
ContentEntityNormalizerTest::testNormalizeWithAccountContext | function | core/ |
Tests the normalize() method with account context passed. |
ContentTranslationPendingRevisionTestBase::$currentAccount | property | core/ |
The current test account. |
ContentTranslationSettingsTest::testAccountLanguageSettingsUI | function | core/ |
Tests the language settings checkbox on account settings page. |
ContextualLinkManager::$account | property | core/ |
The current user. |
ContextualLinkManagerTest::$account | property | core/ |
The mocked account. |
Cron::$accountSwitcher | property | core/ |
The account switcher service. |
CurrentUserContext::$account | property | core/ |
The current user. |
DbUpdateController::$account | property | core/ |
The current user. |
DefaultAccessCheckTest::$account | property | core/ |
The mocked account. |
DefaultMenuLinkTreeManipulators::$account | property | core/ |
The current user. |
DeleteMultipleFormTest::$account | property | core/ |
The current user. |
Drupal\Core\DefaultContent\AdminAccountSwitcher | service | core/ |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.