Constants

NameLocationDescription
AGGREGATOR_CLEAR_NEVERcore/modules/aggregator/aggregator.moduleDenotes that a feed's items should never expire.
ARCHIVE_TAR_ATT_SEPARATORcore/lib/Drupal/Component/Archiver/ArchiveTar.php
ARCHIVE_TAR_END_BLOCKcore/lib/Drupal/Component/Archiver/ArchiveTar.php
BLOCK_CUSTOM_DISABLEDcore/modules/block/block.moduleHides this block by default but lets individual users show it.
BLOCK_CUSTOM_ENABLEDcore/modules/block/block.moduleShows this block by default, but lets individual users hide it.
BLOCK_CUSTOM_FIXEDcore/modules/block/block.moduleUsers cannot control whether or not they see this block.
BLOCK_REGION_NONEcore/modules/block/block.moduleDenotes that a block is not enabled in any region and should not be shown.
BLOCK_VISIBILITY_LISTEDcore/modules/block/block.moduleShows this block on only the listed pages.
BLOCK_VISIBILITY_NOTLISTEDcore/modules/block/block.moduleShows this block on every page except the listed pages.
BLOCK_VISIBILITY_PHPcore/modules/block/block.moduleShows this block if the associated PHP code returns TRUE.
CACHE_PERMANENTcore/includes/bootstrap.incIndicates that the item should never be removed unless explicitly selected.
CACHE_TEMPORARYcore/includes/bootstrap.incIndicates that the item should be removed at the next general cache wipe.
CHECK_PLAINcore/includes/bootstrap.incFlag for drupal_set_title(); text is not sanitized, so run check_plain().
COMMENT_ANONYMOUS_MAYNOT_CONTACTcore/modules/comment/comment.moduleAnonymous posters cannot enter their contact information.
COMMENT_ANONYMOUS_MAY_CONTACTcore/modules/comment/comment.moduleAnonymous posters may leave their contact information.
COMMENT_ANONYMOUS_MUST_CONTACTcore/modules/comment/comment.moduleAnonymous posters are required to leave their contact information.
COMMENT_FORM_BELOWcore/modules/comment/comment.moduleComment form should be shown below post or list of comments.
COMMENT_FORM_SEPARATE_PAGEcore/modules/comment/comment.moduleComment form should be displayed on a separate page.
COMMENT_MODE_FLATcore/modules/comment/comment.moduleComments are displayed in a flat list - expanded.
COMMENT_MODE_THREADEDcore/modules/comment/comment.moduleComments are displayed as a threaded list - expanded.
COMMENT_NODE_CLOSEDcore/modules/comment/comment.moduleComments for this node are closed.
COMMENT_NODE_HIDDENcore/modules/comment/comment.moduleComments for this node are hidden.
COMMENT_NODE_OPENcore/modules/comment/comment.moduleComments for this node are open.
COMMENT_NOT_PUBLISHEDcore/modules/comment/comment.moduleComment is awaiting approval.
COMMENT_PUBLISHEDcore/modules/comment/comment.moduleComment is published.
CSS_DEFAULTcore/includes/common.incThe default group for module CSS files added to the page.
CSS_SYSTEMcore/includes/common.incThe default group for system CSS files added to the page.
CSS_THEMEcore/includes/common.incThe default group for theme CSS files added to the page.
DRUPAL_ANONYMOUS_RIDcore/includes/bootstrap.incRole ID for anonymous users; should match what's in the "role" table.
DRUPAL_AUTHENTICATED_RIDcore/includes/bootstrap.incRole ID for authenticated users; should match what's in the "role" table.
DRUPAL_BOOTSTRAP_CONFIGURATIONcore/includes/bootstrap.incFirst bootstrap phase: initialize configuration.
DRUPAL_BOOTSTRAP_DATABASEcore/includes/bootstrap.incThird bootstrap phase: initialize database layer.
DRUPAL_BOOTSTRAP_FULLcore/includes/bootstrap.incFinal bootstrap phase: Drupal is fully loaded; validate and fix input data.
DRUPAL_BOOTSTRAP_LANGUAGEcore/includes/bootstrap.incSeventh bootstrap phase: find out language of the page.
DRUPAL_BOOTSTRAP_PAGE_CACHEcore/includes/bootstrap.incSecond bootstrap phase: try to serve a cached page.
DRUPAL_BOOTSTRAP_PAGE_HEADERcore/includes/bootstrap.incSixth bootstrap phase: set up the page header.
DRUPAL_BOOTSTRAP_SESSIONcore/includes/bootstrap.incFifth bootstrap phase: initialize session handling.
DRUPAL_BOOTSTRAP_VARIABLEScore/includes/bootstrap.incFourth bootstrap phase: initialize the variable system.
DRUPAL_CACHE_CUSTOMcore/includes/common.incThe block is handling its own caching in its hook_block_view().
DRUPAL_CACHE_GLOBALcore/includes/common.incThe block or element is the same for every user and page that it is visible.
DRUPAL_CACHE_PER_PAGEcore/includes/common.incThe block or element can change depending on the page being viewed.
DRUPAL_CACHE_PER_ROLEcore/includes/common.incThe block or element can change depending on the user's roles.
DRUPAL_CACHE_PER_USERcore/includes/common.incThe block or element can change depending on the user.
DRUPAL_CORE_COMPATIBILITYcore/includes/bootstrap.incCore API compatibility.
DRUPAL_CRON_DEFAULT_THRESHOLDcore/modules/system/system.moduleDefault interval for automatic cron executions in seconds.
DRUPAL_DISABLEDcore/modules/system/system.moduleDisabled option on forms and settings
DRUPAL_HASH_COUNTcore/includes/password.incThe standard log2 number of iterations for password stretching. This should increase by 1 every Drupal version in order to counteract increases in the speed and power of computers available to crack the hashes.
DRUPAL_HASH_LENGTHcore/includes/password.incThe expected (and maximum) number of characters in a hashed password.
DRUPAL_KILOBYTEcore/includes/bootstrap.incThe number of bytes in a kilobyte.
DRUPAL_MAXIMUM_TEMP_FILE_AGEcore/modules/system/system.moduleMaximum age of temporary files in seconds.

Other projects