You are here

private property TimeZoneResolver::$currentUser in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/src/TimeZoneResolver.php \Drupal\system\TimeZoneResolver::currentUser
  2. 9 core/modules/system/src/TimeZoneResolver.php \Drupal\system\TimeZoneResolver::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/system/src/TimeZoneResolver.php, line 34

Class

TimeZoneResolver
Event handler that resolves time zone based on site and user configuration.

Namespace

Drupal\system

Code

private $currentUser;