Constants - 8.9.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
MARK_UPDATED | core/ |
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/ |
Maximum length of menu name as entered by the user. | ||
MODULE_AUTOLOAD_TEST_CONSTANT | core/ |
1 | 2 | ||
NODE_NOT_PROMOTED | in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::NOT_PROMOTED instead. |
core/ |
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/ |
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/ |
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/ |
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/ |
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/ |
Denotes that the node is sticky at the top of the page. | ||
PREG_CLASS_CJK | core/ |
Matches CJK (Chinese, Japanese, Korean) letter-like characters. | 2 | 1 | |
PREG_CLASS_NUMBERS | core/ |
Matches all 'N' Unicode character classes (numbers) | 1 | 1 | |
PREG_CLASS_PUNCTUATION | core/ |
Matches all 'P' Unicode character classes (punctuation) | 1 | 1 | |
REGIONS_ALL | core/ |
Return all regions. | 1 | ||
REGIONS_VISIBLE | core/ |
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/ |
Time of the current request in seconds elapsed since the Unix Epoch. | 153 | 30 |
REQUIREMENT_ERROR | core/ |
Requirement severity -- Error condition; abort installation. | 31 | ||
REQUIREMENT_INFO | core/ |
Requirement severity -- Informational message only. | 12 | ||
REQUIREMENT_OK | core/ |
Requirement severity -- Requirement successfully met. | 4 | ||
REQUIREMENT_WARNING | core/ |
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/ |
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/ |
The machine name for the original image breakpoint image style option. | ||
RESPONSIVE_PRIORITY_LOW | core/ |
A responsive table class; only show table cell on wide devices. | 8 | ||
RESPONSIVE_PRIORITY_MEDIUM | core/ |
A responsive table class; hide table cell on narrow devices. | 13 | ||
SAVED_DELETED | core/ |
Return status for saving which deleted an existing item. | |||
SAVED_NEW | core/ |
Return status for saving which involved creating a new item. | 24 | 2 | |
SAVED_UPDATED | core/ |
Return status for saving which involved an update to an existing item. | 27 | 2 | |
SCHEMA_UNINSTALLED | core/ |
Indicates that a module has not been installed yet. | 9 | ||
SIMPLETEST_MINIMUM_PHP_MEMORY_LIMIT | core/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
Visitors can create accounts, but they don't become active without administrative approval. |
Pagination
- Previous page
- Page 3
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.