TimeZoneResolver::$currentUser
Same name in other branches
- 9 core/modules/system/src/TimeZoneResolver.php \Drupal\system\TimeZoneResolver::currentUser
- 8.9.x core/modules/system/src/TimeZoneResolver.php \Drupal\system\TimeZoneResolver::currentUser
- 10 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\systemCode
private $currentUser;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.