Cron::$accountSwitcher

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cron.php \Drupal\Core\Cron::accountSwitcher
  2. 10 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 58

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.