UserInterface::TIMEZONE_DEFAULT

Same name in other branches
  1. 9 core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::TIMEZONE_DEFAULT
  2. 8.9.x core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::TIMEZONE_DEFAULT
  3. 11.x core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::TIMEZONE_DEFAULT

New users will be set to the default time zone at registration.

File

core/modules/user/src/UserInterface.php, line 41

Class

UserInterface
Provides an interface defining a user entity.

Namespace

Drupal\user

Code

const TIMEZONE_DEFAULT = 0;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.