AccountSwitcher::$accountStack
Same name in other branches
- 9 core/lib/Drupal/Core/Session/AccountSwitcher.php \Drupal\Core\Session\AccountSwitcher::accountStack
- 8.9.x core/lib/Drupal/Core/Session/AccountSwitcher.php \Drupal\Core\Session\AccountSwitcher::accountStack
- 11.x core/lib/Drupal/Core/Session/AccountSwitcher.php \Drupal\Core\Session\AccountSwitcher::accountStack
A stack of previous overridden accounts.
Type: \Drupal\Core\Session\AccountInterface[]
File
-
core/
lib/ Drupal/ Core/ Session/ AccountSwitcher.php, line 19
Class
- AccountSwitcher
- An implementation of AccountSwitcherInterface.
Namespace
Drupal\Core\SessionCode
protected $accountStack = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.