Constants - 11.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
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 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 18
MAINTENANCE_MODE core/install.php Global flag to indicate the site is in installation mode. 5 18
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
REQUIREMENT_ERROR

in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Extension\Requirement\RequirementSeverity::Error instead.

core/includes/install.inc Requirement severity -- Error condition; abort installation. 2
REQUIREMENT_INFO

in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Extension\Requirement\RequirementSeverity::Info instead.

core/includes/install.inc Requirement severity -- Informational message only. 3
REQUIREMENT_OK

in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Extension\Requirement\RequirementSeverity::OK instead.

core/includes/install.inc Requirement severity -- Requirement successfully met. 2
REQUIREMENT_WARNING

in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Extension\Requirement\RequirementSeverity::Warning instead.

core/includes/install.inc Requirement severity -- Warning condition; proceed but flag warning. 1
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. 15
SAVED_DELETED

in drupal:11.2.0 and is removed from drupal:12.0.0. There is no replacement.

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. 22 2
SAVED_UPDATED core/includes/common.inc Return status for saving which involved an update to an existing item. 27 2

Other projects


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