1. 8.5.x core/core.services.yml account_switcher
  2. 8.0.x core/core.services.yml account_switcher
  3. 8.1.x core/core.services.yml account_switcher
  4. 8.2.x core/core.services.yml account_switcher
  5. 8.3.x core/core.services.yml account_switcher
  6. 8.4.x core/core.services.yml account_switcher
  7. 8.6.x core/core.services.yml account_switcher

Class

Drupal\Core\Session\AccountSwitcher
9 string references to account_switcher
AccessPermissionTest::testRenderCaching in core/modules/user/src/Tests/Views/AccessPermissionTest.php
Tests access on render caching.
AccessRoleTest::testRenderCaching in core/modules/user/src/Tests/Views/AccessRoleTest.php
Tests access on render caching.
AccountSwitcherTest::testAccountSwitching in core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php
CommentLinksTest::testLinkApprove in core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php
Test the comment approve link.
CommentLinksTest::testLinkReply in core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php
Test the comment reply link.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Session\AccountSwitcher
  2. arguments:
  3. - '@current_user'
  4. - '@session_handler.write_safe'