account_switcher
Same name in other branches
- 9 core/core.services.yml \account_switcher
- 8.9.x core/core.services.yml \account_switcher
Class
Drupal\Core\Session\AccountSwitcher15 string references to account_switcher
- AccessPermissionTest::testRenderCaching in core/
modules/ user/ tests/ src/ Kernel/ Views/ AccessPermissionTest.php - Tests access on render caching.
- AccessRoleTest::testRenderCaching in core/
modules/ user/ tests/ src/ Functional/ Views/ AccessRoleTest.php - Tests access on render caching.
- AccountSwitcherTest::testAccountSwitching in core/
tests/ Drupal/ KernelTests/ Core/ Session/ AccountSwitcherTest.php - CommentAdminViewTest::doTestFilters in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentAdminViewTest.php - Tests comment admin view display.
- CommentLinksTest::testLinkApprove in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentLinksTest.php - Tests the comment approve link.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Session\AccountSwitcher
- arguments:
- - '@current_user'
- - '@session_handler.write_safe'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.