You are here

Constants in Drupal 9

Primary tabs

Namesort descending Location Description Direct uses Strings
LOCALE_JS_OBJECT core/modules/locale/locale.module Regular expression pattern used to match simple JS object literal. 1
LOCALE_JS_OBJECT_CONTEXT core/modules/locale/locale.module Regular expression to match an object containing a key 'context'. 1 1
LOCALE_JS_STRING core/modules/locale/locale.module Regular expression pattern used to localize JavaScript strings. 1
LOCALE_NOT_CUSTOMIZED core/modules/locale/locale.module Flag for locally not customized interface translation. 10
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. 4
LOCALE_TRANSLATION_OVERWRITE_NONE core/modules/locale/locale.module UI option for override of existing translations. Don't override existing translations. 3
LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED core/modules/locale/locale.module UI option for override of existing translations. Only override non-customized translations. 3
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. 5 14
MAINTENANCE_MODE core/install.php Global flag to indicate the site is in installation mode. 5 14
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
PREG_CLASS_CJK Deprecated core/modules/search/search.module Matches CJK (Chinese, Japanese, Korean) letter-like characters. 1 1
PREG_CLASS_NUMBERS Deprecated core/modules/search/search.module Matches all 'N' Unicode character classes (numbers) 1
PREG_CLASS_PUNCTUATION Deprecated core/modules/search/search.module Matches all 'P' Unicode character classes (punctuation) 1
REGIONS_ALL core/modules/system/system.module Return all regions. 1
REGIONS_VISIBLE core/modules/system/system.module Return only visible regions. 8
REQUEST_TIME Deprecated core/includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch. 145 26
REQUIREMENT_ERROR core/includes/install.inc Requirement severity -- Error condition; abort installation. 28
REQUIREMENT_INFO core/includes/install.inc Requirement severity -- Informational message only. 9
REQUIREMENT_OK core/includes/install.inc Requirement severity -- Requirement successfully met. 4
REQUIREMENT_WARNING core/includes/install.inc Requirement severity -- Warning condition; proceed but flag warning. 20
RESPONSIVE_PRIORITY_LOW core/includes/theme.inc A responsive table class; only show table cell on wide devices. 8
RESPONSIVE_PRIORITY_MEDIUM core/includes/theme.inc A responsive table class; hide table cell on narrow devices. 13
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. 21 1
SAVED_UPDATED core/includes/common.inc Return status for saving which involved an update to an existing item. 26 1
SCHEMA_UNINSTALLED Deprecated core/includes/schema.inc Indicates that a module has not been installed yet.

Pages

Other projects