Constants - 10.3.x - drupal

Title Deprecated File name Summary Direct uses Strings
LOCALE_TRANSLATION_CURRENT core/modules/locale/locale.module Translation source is the current translation. 6
LOCALE_TRANSLATION_DEFAULT_SERVER_PATTERN core/modules/locale/locale.module Default location of gettext file on the translation server. 1
LOCALE_TRANSLATION_LOCAL core/modules/locale/locale.module Translation source is a local file. 10
LOCALE_TRANSLATION_OVERWRITE_ALL core/modules/locale/locale.module UI option for override of existing translations. Override any translation. 2
LOCALE_TRANSLATION_OVERWRITE_NONE core/modules/locale/locale.module UI option for override of existing translations. 1
LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED core/modules/locale/locale.module UI option for override of existing translations. 1
LOCALE_TRANSLATION_REMOTE core/modules/locale/locale.module Translation source is a remote file. 8
LOCALE_TRANSLATION_SOURCE_COMPARE_EQ core/modules/locale/locale.translation.inc Comparison result of source files timestamps. 1
LOCALE_TRANSLATION_SOURCE_COMPARE_GT core/modules/locale/locale.translation.inc Comparison result of source files timestamps. 1
LOCALE_TRANSLATION_SOURCE_COMPARE_LT core/modules/locale/locale.translation.inc Comparison result of source files timestamps. 2
LOCALE_TRANSLATION_STATUS_TTL core/modules/locale/locale.module The number of seconds that the translations status entry should be considered. 1
LOCALE_TRANSLATION_USE_SOURCE_LOCAL core/modules/locale/locale.module Translation update mode: Use local files only. 3
LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL core/modules/locale/locale.module Translation update mode: Use both remote and local files. 5
MAINTENANCE_MODE core/authorize.php Global flag to identify update.php and authorize.php runs. 6 21
MAINTENANCE_MODE core/install.php Global flag to indicate the site is in installation mode. 6 21
MARK_NEW core/includes/theme.inc Mark content as being new. 3
MARK_READ core/includes/theme.inc Mark content as read. 2
MARK_UPDATED core/includes/theme.inc Mark content as being updated. 2
MODULE_AUTOLOAD_TEST_CONSTANT core/modules/system/tests/modules/module_autoload_test/module_autoload_test.module 1 2
REGIONS_ALL core/modules/system/system.module Return all regions. 1
REGIONS_VISIBLE core/modules/system/system.module Return only visible regions. 7
REQUEST_TIME

in drupal:8.3.0 and is removed from drupal:11.0.0. Use \Drupal::time()->getRequestTime();

core/includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch. 27
REQUIREMENT_ERROR core/includes/install.inc Requirement severity -- Error condition; abort installation. 29
REQUIREMENT_INFO core/includes/install.inc Requirement severity -- Informational message only. 11
REQUIREMENT_OK core/includes/install.inc Requirement severity -- Requirement successfully met. 7
REQUIREMENT_WARNING core/includes/install.inc Requirement severity -- Warning condition; proceed but flag warning. 24
RESPONSIVE_PRIORITY_LOW core/includes/theme.inc A responsive table class; only show table cell on wide devices. 9
RESPONSIVE_PRIORITY_MEDIUM core/includes/theme.inc A responsive table class; hide table cell on narrow devices. 14
SAVED_DELETED core/includes/common.inc Return status for saving which deleted an existing item.
SAVED_NEW core/includes/common.inc Return status for saving which involved creating a new item. 24 2
SAVED_UPDATED core/includes/common.inc Return status for saving which involved an update to an existing item. 28 2

Other projects


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