Cron::$accountSwitcher

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cron.php \Drupal\Core\Cron::accountSwitcher
  2. 8.9.x core/lib/Drupal/Core/Cron.php \Drupal\Core\Cron::accountSwitcher

The account switcher service.

Type: \Drupal\Core\Session\AccountSwitcherInterface

File

core/lib/Drupal/Core/Cron.php, line 63

Class

Cron
The Drupal core Cron service.

Namespace

Drupal\Core

Code

protected $accountSwitcher;

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