public AccountSwitcherInterface::switchBack()
Reverts to a previous account after switching.
Return value
\Drupal\Core\Session\AccountSwitcherInterface $this.
Throws
\RuntimeException When there are no more account switches to revert.
File
- core/lib/Drupal/Core/Session/AccountSwitcherInterface.php, line 36
Class
- AccountSwitcherInterface
- Defines an interface for a service for safe account switching.
Namespace
Drupal\Core\Session
Code
public function switchBack();
Please login to continue.