public function AccountInterface::getTimeZone in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Core/Session/AccountInterface.php \Drupal\Core\Session\AccountInterface::getTimeZone()
Returns the timezone of this account.
Return value
string Name of the timezone.
1 method overrides AccountInterface::getTimeZone()
- Account::getTimeZone in src/
Session/ Account.php - Returns the timezone of this account.
File
- lib/
Drupal/ Core/ Session/ AccountInterface.php, line 140 - Contains \Drupal\Core\Session\AccountInterface.
Class
- AccountInterface
- Defines an account interface which represents the current user.
Namespace
Drupal\Core\SessionCode
public function getTimeZone();