Constants - 8.9.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
MARK_UPDATED core/includes/theme.inc Mark content as being updated. 2
MENU_MAX_MENU_NAME_LENGTH_UI

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\system\MenuStorage::MAX_ID_LENGTH instead.

core/modules/menu_ui/menu_ui.module Maximum length of menu name as entered by the user.
MODULE_AUTOLOAD_TEST_CONSTANT core/modules/system/tests/modules/module_autoload_test/module_autoload_test.module 1 2
NODE_NOT_PROMOTED

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::NOT_PROMOTED instead.

core/modules/node/node.module Denotes that the node is not promoted to the front page.
NODE_NOT_PUBLISHED

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::NOT_PUBLISHED instead.

core/modules/node/node.module Denotes that the node is not published.
NODE_NOT_STICKY

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::NOT_STICKY instead.

core/modules/node/node.module Denotes that the node is not sticky at the top of the page.
NODE_PROMOTED

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::PROMOTED instead.

core/modules/node/node.module Denotes that the node is promoted to the front page.
NODE_PUBLISHED

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::PUBLISHED instead.

core/modules/node/node.module Denotes that the node is published.
NODE_STICKY

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::STICKY instead.

core/modules/node/node.module Denotes that the node is sticky at the top of the page.
PREG_CLASS_CJK core/modules/search/search.module Matches CJK (Chinese, Japanese, Korean) letter-like characters. 2 1
PREG_CLASS_NUMBERS core/modules/search/search.module Matches all 'N' Unicode character classes (numbers) 1 1
PREG_CLASS_PUNCTUATION core/modules/search/search.module Matches all 'P' Unicode character classes (punctuation) 1 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

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

core/includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch. 153 30
REQUIREMENT_ERROR core/includes/install.inc Requirement severity -- Error condition; abort installation. 31
REQUIREMENT_INFO core/includes/install.inc Requirement severity -- Informational message only. 12
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_IMAGE_EMPTY_IMAGE

in drupal:8.3.0 and is removed from drupal:9.0.0. Use Drupal\responsive_image\ResponsiveImageStyleInterface::EMPTY_IMAGE instead.

core/modules/responsive_image/responsive_image.module The machine name for the empty image breakpoint image style option.
RESPONSIVE_IMAGE_ORIGINAL_IMAGE

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\responsive_image\ResponsiveImageStyleInterface::ORIGINAL_IMAGE instead.

core/modules/responsive_image/responsive_image.module The machine name for the original image breakpoint image style option.
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. 24 2
SAVED_UPDATED core/includes/common.inc Return status for saving which involved an update to an existing item. 27 2
SCHEMA_UNINSTALLED core/includes/schema.inc Indicates that a module has not been installed yet. 9
SIMPLETEST_MINIMUM_PHP_MEMORY_LIMIT core/modules/simpletest/simpletest.install Minimum value of PHP memory_limit for SimpleTest. 1
TAXONOMY_HIERARCHY_DISABLED

in drupal:8.2.0 and is removed from drupal:9.0.0. Use \Drupal\taxonomy\VocabularyInterface::HIERARCHY_DISABLED instead.

core/modules/taxonomy/taxonomy.module Denotes that no term in the vocabulary has a parent.
TAXONOMY_HIERARCHY_MULTIPLE

in drupal:8.2.0 and is removed from drupal:9.0.0. Use \Drupal\taxonomy\VocabularyInterface::HIERARCHY_MULTIPLE instead.

core/modules/taxonomy/taxonomy.module Denotes that one or more terms in the vocabulary have multiple parents.
TAXONOMY_HIERARCHY_SINGLE

in drupal:8.2.0 and is removed from drupal:9.0.0. Use \Drupal\taxonomy\VocabularyInterface::HIERARCHY_SINGLE instead.

core/modules/taxonomy/taxonomy.module Denotes that one or more terms in the vocabulary has a single parent.
UPDATE_CURRENT

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\update\UpdateManagerInterface::CURRENT instead.

core/modules/update/update.module Project is up to date.
UPDATE_FETCH_PENDING

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\update\UpdateFetcherInterface::FETCH_PENDING instead.

core/modules/update/update.module We need to (re)fetch available update data for this project.
UPDATE_NOT_CHECKED

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\update\UpdateFetcherInterface::NOT_CHECKED instead.

core/modules/update/update.module Project's status cannot be checked.
UPDATE_NOT_CURRENT

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\update\UpdateManagerInterface::NOT_CURRENT instead.

core/modules/update/update.module Project has a new release available, but it is not a security release.
UPDATE_NOT_FETCHED

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\update\UpdateFetcherInterface::NOT_FETCHED instead.

core/modules/update/update.module There was a failure fetching available update data for this project.
UPDATE_NOT_SECURE

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\update\UpdateManagerInterface::NOT_SECURE instead.

core/modules/update/update.module Project is missing security update(s).
UPDATE_NOT_SUPPORTED

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\update\UpdateManagerInterface::NOT_SUPPORTED instead.

core/modules/update/update.module Current release is no longer supported by the project maintainer.
UPDATE_REVOKED

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\update\UpdateManagerInterface::REVOKED instead.

core/modules/update/update.module Current release has been unpublished and is no longer available.
UPDATE_UNKNOWN

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\update\UpdateFetcherInterface::UNKNOWN instead.

core/modules/update/update.module No available update data was found for project.
USERNAME_MAX_LENGTH

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

core/modules/user/user.module Maximum length of username text field.
USER_REGISTER_ADMINISTRATORS_ONLY

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

core/modules/user/user.module Only administrators can create user accounts.
USER_REGISTER_VISITORS

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

core/modules/user/user.module Visitors can create their own accounts.
USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL

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

core/modules/user/user.module Visitors can create accounts, but they don't become active without administrative approval.

Other projects


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