You are here

constant DRUPAL_USER_TIMEZONE_DEFAULT in Drupal 8

Same name and namespace in other branches
  1. 7 modules/system/system.module \DRUPAL_USER_TIMEZONE_DEFAULT

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

Deprecated

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\user\UserInterface::TIMEZONE_DEFAULT instead.

See also

https://www.drupal.org/node/2831620

File

core/modules/system/system.module, line 46
Configuration system that lets administrators modify the workings of the site.

Code

const DRUPAL_USER_TIMEZONE_DEFAULT = 0;