You are here

constant DRUPAL_USER_TIMEZONE_EMPTY in Drupal 8

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

New users will get an empty time zone at registration.

Deprecated

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

See also

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

File

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

Code

const DRUPAL_USER_TIMEZONE_EMPTY = 1;