Skip navigation
Help

Constants

NameLocationDescription
AGGREGATOR_CLEAR_NEVERdrupal/modules/aggregator/aggregator.moduleDenotes that a feed's items should never expire.
ARCHIVE_TAR_ATT_SEPARATORdrupal/modules/system/system.tar.inc
ARCHIVE_TAR_END_BLOCKdrupal/modules/system/system.tar.inc
BLOCK_CUSTOM_DISABLEDdrupal/modules/block/block.moduleHide this block by default but let individual users show it.
BLOCK_CUSTOM_ENABLEDdrupal/modules/block/block.moduleShow this block by default, but let individual users hide it.
BLOCK_CUSTOM_FIXEDdrupal/modules/block/block.moduleUsers cannot control whether or not they see this block.
BLOCK_REGION_NONEdrupal/modules/block/block.moduleDenotes that a block is not enabled in any region and should not be shown.
BLOCK_VISIBILITY_LISTEDdrupal/modules/block/block.moduleShow this block on only the listed pages.
BLOCK_VISIBILITY_NOTLISTEDdrupal/modules/block/block.moduleShow this block on every page except the listed pages.
BLOCK_VISIBILITY_PHPdrupal/modules/block/block.moduleShow this block if the associated PHP code returns TRUE.
CACHE_PERMANENTdrupal/includes/bootstrap.incIndicates that the item should never be removed unless explicitly selected.
CACHE_TEMPORARYdrupal/includes/bootstrap.incIndicates that the item should be removed at the next general cache wipe.
CHECK_PLAINdrupal/includes/bootstrap.incFlag for drupal_set_title(); text is not sanitized, so run check_plain().
CM_TO_CMubercart/uc_store/uc_store.moduleConverts centimeters to centimeters.
CM_TO_FTubercart/uc_store/uc_store.moduleConverts centimeters to feet.
CM_TO_INubercart/uc_store/uc_store.moduleConverts centimeters to inches.
CM_TO_MMubercart/uc_store/uc_store.moduleConverts centimeters to millimeters.
COMMENT_ANONYMOUS_MAYNOT_CONTACTdrupal/modules/comment/comment.moduleAnonymous posters cannot enter their contact information.
COMMENT_ANONYMOUS_MAY_CONTACTdrupal/modules/comment/comment.moduleAnonymous posters may leave their contact information.
COMMENT_ANONYMOUS_MUST_CONTACTdrupal/modules/comment/comment.moduleAnonymous posters are required to leave their contact information.
COMMENT_FORM_BELOWdrupal/modules/comment/comment.moduleComment form should be shown below post or list of comments.
COMMENT_FORM_SEPARATE_PAGEdrupal/modules/comment/comment.moduleComment form should be displayed on a separate page.
COMMENT_MODE_FLATdrupal/modules/comment/comment.moduleComments are displayed in a flat list - expanded.
COMMENT_MODE_THREADEDdrupal/modules/comment/comment.moduleComments are displayed as a threaded list - expanded.
COMMENT_NODE_CLOSEDdrupal/modules/comment/comment.moduleComments for this node are closed.
COMMENT_NODE_HIDDENdrupal/modules/comment/comment.moduleComments for this node are hidden.
COMMENT_NODE_OPENdrupal/modules/comment/comment.moduleComments for this node are open.
COMMENT_NOT_PUBLISHEDdrupal/modules/comment/comment.moduleComment is awaiting approval.
COMMENT_PUBLISHEDdrupal/modules/comment/comment.moduleComment is published.
CSS_DEFAULTdrupal/includes/common.incThe default group for module CSS files added to the page.
CSS_SYSTEMdrupal/includes/common.incThe default group for system CSS files added to the page.
CSS_THEMEdrupal/includes/common.incThe default group for theme CSS files added to the page.
DRUPAL_ANONYMOUS_RIDdrupal/includes/bootstrap.incRole ID for anonymous users; should match what's in the "role" table.
DRUPAL_AUTHENTICATED_RIDdrupal/includes/bootstrap.incRole ID for authenticated users; should match what's in the "role" table.
DRUPAL_BOOTSTRAP_CONFIGURATIONdrupal/includes/bootstrap.incFirst bootstrap phase: initialize configuration.
DRUPAL_BOOTSTRAP_DATABASEdrupal/includes/bootstrap.incThird bootstrap phase: initialize database layer.
DRUPAL_BOOTSTRAP_FULLdrupal/includes/bootstrap.incFinal bootstrap phase: Drupal is fully loaded; validate and fix input data.
DRUPAL_BOOTSTRAP_LANGUAGEdrupal/includes/bootstrap.incSeventh bootstrap phase: find out language of the page.
DRUPAL_BOOTSTRAP_PAGE_CACHEdrupal/includes/bootstrap.incSecond bootstrap phase: try to serve a cached page.
DRUPAL_BOOTSTRAP_PAGE_HEADERdrupal/includes/bootstrap.incSixth bootstrap phase: set up the page header.
DRUPAL_BOOTSTRAP_SESSIONdrupal/includes/bootstrap.incFifth bootstrap phase: initialize session handling.
DRUPAL_BOOTSTRAP_VARIABLESdrupal/includes/bootstrap.incFourth bootstrap phase: initialize the variable system.
DRUPAL_CACHE_CUSTOMdrupal/includes/common.incThe block is handling its own caching in its hook_block_view(). From the perspective of the block cache system, this is equivalent to DRUPAL_NO_CACHE. Useful when time based expiration is needed or a site uses a node access which invalidates standard…
DRUPAL_CACHE_GLOBALdrupal/includes/common.incThe block or element is the same for every user on every page where it is visible.
DRUPAL_CACHE_PER_PAGEdrupal/includes/common.incThe block or element can change depending on the page being viewed.
DRUPAL_CACHE_PER_ROLEdrupal/includes/common.incThe block or element can change depending on the roles the user viewing the page belongs to. This is the default setting for blocks, used when the block does not specify anything.
DRUPAL_CACHE_PER_USERdrupal/includes/common.incThe block or element can change depending on the user viewing the page. This setting can be resource-consuming for sites with large number of users, and thus should only be used when DRUPAL_CACHE_PER_ROLE is not sufficient.
DRUPAL_CORE_COMPATIBILITYdrupal/includes/bootstrap.incCore API compatibility.
DRUPAL_CRON_DEFAULT_THRESHOLDdrupal/modules/system/system.moduleDefault interval for automatic cron executions in seconds.
DRUPAL_DISABLEDdrupal/modules/system/system.moduleDisabled option on forms and settings