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

1
2
3
public function getTimeZone() {
  return $this->getAccount()->getTimeZone();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.