Search for account

  1. Search 7.x for account
  2. Search 9.5.x for account
  3. Search 10.3.x for account
  4. Search 11.x for account
  5. Other projects
Title Object type File name Summary
AccountSwitcher::switchTo function core/lib/Drupal/Core/Session/AccountSwitcher.php
AccountSwitcher::__construct function core/lib/Drupal/Core/Session/AccountSwitcher.php Constructs a new AccountSwitcher.
AccountSwitcherInterface interface core/lib/Drupal/Core/Session/AccountSwitcherInterface.php Defines an interface for a service for safe account switching.
AccountSwitcherInterface.php file core/lib/Drupal/Core/Session/AccountSwitcherInterface.php
AccountSwitcherInterface::switchBack function core/lib/Drupal/Core/Session/AccountSwitcherInterface.php Reverts to a previous account after switching.
AccountSwitcherInterface::switchTo function core/lib/Drupal/Core/Session/AccountSwitcherInterface.php Safely switches to another account.
AccountSwitcherTest class core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php Test case for account switching.
AccountSwitcherTest.php file core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php
AccountSwitcherTest::testAccountSwitching function core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php
account_switcher service core/core.services.yml Drupal\Core\Session\AccountSwitcher
ArgumentValidateTest::$account property core/modules/user/tests/src/Kernel/Views/ArgumentValidateTest.php A user for this test.
AuthenticationSubscriber::$accountProxy property core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php Account proxy.
block.block.bartik_account_menu.yml file core/profiles/standard/config/install/block.block.bartik_account_menu.yml core/profiles/standard/config/install/block.block.bartik_account_menu.yml
block.block.umami_account_menu.yml file core/profiles/demo_umami/config/install/block.block.umami_account_menu.yml core/profiles/demo_umami/config/install/block.block.umami_account_menu.yml
BlockComponentRenderArrayTest::$account property core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php The current user.
BlockContentBlock::$account property core/modules/block_content/src/Plugin/Block/BlockContentBlock.php The Drupal account to use for checking for access to block.
BlockPlaceEventSubscriber::$account property core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php The current user.
BookBreadcrumbBuilder::$account property core/modules/book/src/BookBreadcrumbBuilder.php The current user account.
CKEditorIntegrationTest::$account property core/modules/ckeditor/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php The account.
CommentTestBase::$account property core/modules/comment/src/Tests/Views/CommentTestBase.php A normal user with permission to post comments (without approval).
CommentTestBase::$account property core/modules/comment/tests/src/Functional/Views/CommentTestBase.php A normal user with permission to post comments (without approval).
CommentTestBase::$account2 property core/modules/comment/src/Tests/Views/CommentTestBase.php A second normal user that will author a node for $account to comment on.
CommentTestBase::$account2 property core/modules/comment/tests/src/Functional/Views/CommentTestBase.php A second normal user that will author a node for $account to comment on.
ConfigTranslationController::$account property core/modules/config_translation/src/Controller/ConfigTranslationController.php The current user.
ConfigTranslationUiTest::testAccountSettingsConfigurationTranslation function core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php Tests the account settings translation interface.
ContentEntityNormalizerTest::testNormalizeWithAccountContext function core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php Tests the normalize() method with account context passed.
ContentTranslationPendingRevisionTestBase::$currentAccount property core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php The current test account.
ContentTranslationSettingsTest::testAccountLanguageSettingsUI function core/modules/content_translation/tests/src/Functional/ContentTranslationSettingsTest.php Tests the language settings checkbox on account settings page.
ContextualLinkManager::$account property core/lib/Drupal/Core/Menu/ContextualLinkManager.php The current user.
ContextualLinkManagerTest::$account property core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php The mocked account.
Cron::$accountSwitcher property core/lib/Drupal/Core/Cron.php The account switcher service.
CurrentUserContext::$account property core/modules/user/src/ContextProvider/CurrentUserContext.php The current user.
DbUpdateController::$account property core/modules/system/src/Controller/DbUpdateController.php The current user.
DefaultAccessCheckTest::$account property core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php The mocked account.
DefaultMenuLinkTreeManipulators::$account property core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php The current user.
DeleteMultipleFormTest::$account property core/tests/Drupal/FunctionalTests/Entity/DeleteMultipleFormTest.php The current user.
EntityQueryRelationshipTest::$accounts property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php User entities.
FieldTest::$account property core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/FieldTest.php The account.
FieldUITest::$account property core/modules/field/tests/src/Functional/Views/FieldUITest.php A user with the 'administer views' permission.
FormCacheTest::$account property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The current user.
FormTestBase::$account property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The current user.
GroupedExposedFilterTest::$account property core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/GroupedExposedFilterTest.php The account.
HandlerFilterUserNameTest::$accounts property core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php Accounts used by this test.
HelpSearch::$account property core/modules/help_topics/src/Plugin/Search/HelpSearch.php The Drupal account to use for checking for access to search.
LocalActionManager::$account property core/lib/Drupal/Core/Menu/LocalActionManager.php The current user.
LocalActionManagerTest::$account property core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php The mocked account.
LocalTaskManager::$account property core/lib/Drupal/Core/Menu/LocalTaskManager.php The current user.
LocalTaskManagerTest::$account property core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php The mocked account.
MaintenanceModeSubscriber::$account property core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php The current account.
MaintenanceModeSubscriber::$account property core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php The current account.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.