AccountProxy::getTimeZone

public AccountProxy::getTimeZone()

Returns the timezone of this account.

Return value

string Name of the timezone.

Overrides AccountInterface::getTimeZone

File

core/lib/Drupal/Core/Session/AccountProxy.php, line 144

Class

AccountProxy
A proxied implementation of AccountInterface.

Namespace

Drupal\Core\Session

Code

public function getTimeZone() {
  return $this->getAccount()->getTimeZone();
}
doc_Drupal
2016-10-29 08:42:50
Comments
Leave a Comment

Please login to continue.