Constants

Primary tabs

Name Locationsort descending Description Direct uses Strings
LOCALE_TRANSLATION_SOURCE_COMPARE_EQ drupal/core/modules/locale/locale.translation.inc Comparison result of source files timestamps. 1
LOCALE_TRANSLATION_SOURCE_COMPARE_GT drupal/core/modules/locale/locale.translation.inc Comparison result of source files timestamps. 1
MENU_MAX_MENU_NAME_LENGTH_UI drupal/core/modules/menu/menu.module Maximum length of menu name as entered by the user. Database length is 32 and we add a menu- prefix. 3
NODE_NOT_PUBLISHED drupal/core/modules/node/node.module Denotes that the node is not published. 5
NODE_PUBLISHED drupal/core/modules/node/node.module Denotes that the node is published. 8
NODE_NOT_PROMOTED drupal/core/modules/node/node.module Denotes that the node is not promoted to the front page. 2
NODE_PROMOTED drupal/core/modules/node/node.module Denotes that the node is promoted to the front page. 3
NODE_NOT_STICKY drupal/core/modules/node/node.module Denotes that the node is not sticky at the top of the page. 3
NODE_STICKY drupal/core/modules/node/node.module Denotes that the node is sticky at the top of the page. 2
NODE_ACCESS_ALLOW drupal/core/modules/node/node.module Denotes that access is allowed for a node. 2
NODE_ACCESS_DENY drupal/core/modules/node/node.module Denotes that access is denied for a node. 2
NODE_ACCESS_IGNORE drupal/core/modules/node/node.module Denotes that access is unaffected for a node. 4
RDF_DEFAULT_BUNDLE drupal/core/modules/rdf/rdf.module RDF bundle flag: Default bundle. 7
SEARCH_TYPE drupal/core/modules/search/lib/Drupal/search/Tests/SearchMatchTest.php 1
SEARCH_TYPE_2 drupal/core/modules/search/lib/Drupal/search/Tests/SearchMatchTest.php 1
SEARCH_TYPE_JPN drupal/core/modules/search/lib/Drupal/search/Tests/SearchMatchTest.php 1
PREG_CLASS_NUMBERS drupal/core/modules/search/search.module Matches all 'N' Unicode character classes (numbers) 1 1
PREG_CLASS_PUNCTUATION drupal/core/modules/search/search.module Matches all 'P' Unicode character classes (punctuation) 1 1
PREG_CLASS_CJK drupal/core/modules/search/search.module Matches CJK (Chinese, Japanese, Korean) letter-like characters. 2 1
SIMPLETEST_MINIMUM_PHP_MEMORY_LIMIT drupal/core/modules/simpletest/simpletest.install Minimum value of PHP memory_limit for SimpleTest. 1
DRUPAL_MAXIMUM_TEMP_FILE_AGE drupal/core/modules/system/system.module Maximum age of temporary files in seconds. 2
DRUPAL_USER_TIMEZONE_DEFAULT drupal/core/modules/system/system.module New users will be set to the default time zone at registration.
DRUPAL_USER_TIMEZONE_EMPTY drupal/core/modules/system/system.module New users will get an empty time zone at registration.
DRUPAL_USER_TIMEZONE_SELECT drupal/core/modules/system/system.module New users will select their own timezone at registration. 1
DRUPAL_DISABLED drupal/core/modules/system/system.module Disabled option on forms and settings 15
DRUPAL_OPTIONAL drupal/core/modules/system/system.module Optional option on forms and settings 19
DRUPAL_REQUIRED drupal/core/modules/system/system.module Required option on forms and settings 7
REGIONS_VISIBLE drupal/core/modules/system/system.module Return only visible regions. 5
REGIONS_ALL drupal/core/modules/system/system.module Return all regions. 1
ENTITY_TEST_TYPES_REVISABLE drupal/core/modules/system/tests/modules/entity_test/entity_test.module Filter that limits test entity list to revisable ones. 2
ENTITY_TEST_TYPES_MULTILINGUAL drupal/core/modules/system/tests/modules/entity_test/entity_test.module Filter that limits test entity list to multilingual ones. 2
TAXONOMY_HIERARCHY_DISABLED drupal/core/modules/taxonomy/taxonomy.module Denotes that no term in the vocabulary has a parent. 3
TAXONOMY_HIERARCHY_SINGLE drupal/core/modules/taxonomy/taxonomy.module Denotes that one or more terms in the vocabulary has a single parent. 5
TAXONOMY_HIERARCHY_MULTIPLE drupal/core/modules/taxonomy/taxonomy.module Denotes that one or more terms in the vocabulary have multiple parents. 5
UPDATE_DEFAULT_URL drupal/core/modules/update/update.module URL to check for updates, if a given project doesn't define its own. 1
UPDATE_NOT_SECURE drupal/core/modules/update/update.module Project is missing security update(s). 8
UPDATE_REVOKED drupal/core/modules/update/update.module Current release has been unpublished and is no longer available. 6
UPDATE_NOT_SUPPORTED drupal/core/modules/update/update.module Current release is no longer supported by the project maintainer. 6
UPDATE_NOT_CURRENT drupal/core/modules/update/update.module Project has a new release available, but it is not a security release. 7
UPDATE_CURRENT drupal/core/modules/update/update.module Project is up to date. 5
UPDATE_NOT_CHECKED drupal/core/modules/update/update.module Project's status cannot be checked. 6
UPDATE_UNKNOWN drupal/core/modules/update/update.module No available update data was found for project. 7
UPDATE_NOT_FETCHED drupal/core/modules/update/update.module There was a failure fetching available update data for this project. 5
UPDATE_FETCH_PENDING drupal/core/modules/update/update.module We need to (re)fetch available update data for this project. 4
USERNAME_MAX_LENGTH drupal/core/modules/user/user.module Maximum length of username text field. 5
EMAIL_MAX_LENGTH drupal/core/modules/user/user.module Maximum length of user e-mail text field. 2 1
USER_REGISTER_ADMINISTRATORS_ONLY drupal/core/modules/user/user.module Only administrators can create user accounts. 7
USER_REGISTER_VISITORS drupal/core/modules/user/user.module Visitors can create their own accounts. 5
USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL drupal/core/modules/user/user.module Visitors can create accounts, but they don't become active without administrative approval. 1
VIEWS_HANDLER_RENDER_TEXT_PHASE_SINGLE_ITEM drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php Indicator of the renderText() method for rendering a single item. (If no render_item() is present). 1 1

Pages

Other projects