You are here

Constants in Drupal 7

Primary tabs

Namesort descending Location Description Direct uses Strings
AGGREGATOR_CLEAR_NEVER modules/aggregator/aggregator.module Denotes that a feed's items should never expire. 4 1
ARCHIVE_TAR_ATT_SEPARATOR modules/system/system.tar.inc 1 1
ARCHIVE_TAR_END_BLOCK modules/system/system.tar.inc 1 1
BLOCK_CUSTOM_DISABLED modules/block/block.module Hides this block by default but lets individual users show it. 1 1
BLOCK_CUSTOM_ENABLED modules/block/block.module Shows this block by default, but lets individual users hide it. 2 1
BLOCK_CUSTOM_FIXED modules/block/block.module Users cannot control whether or not they see this block. 2 1
BLOCK_REGION_NONE modules/block/block.module Denotes that a block is not enabled in any region and should not be shown. 7 1
BLOCK_VISIBILITY_LISTED modules/block/block.module Shows this block on only the listed pages. 3 1
BLOCK_VISIBILITY_NOTLISTED modules/block/block.module Shows this block on every page except the listed pages. 1 1
BLOCK_VISIBILITY_PHP modules/block/block.module Shows this block if the associated PHP code returns TRUE. 2 1
CACHE_PERMANENT includes/bootstrap.inc Indicates that the item should never be removed unless explicitly selected. 2 1
CACHE_TEMPORARY includes/bootstrap.inc Indicates that the item should be removed at the next general cache wipe. 3 1
CHECK_PLAIN includes/bootstrap.inc Flag used to indicate that text is not sanitized, so run check_plain(). 1 1
COMMENT_ANONYMOUS_MAYNOT_CONTACT modules/comment/comment.module Anonymous posters cannot enter their contact information. 2 1
COMMENT_ANONYMOUS_MAY_CONTACT modules/comment/comment.module Anonymous posters may leave their contact information. 2 1
COMMENT_ANONYMOUS_MUST_CONTACT modules/comment/comment.module Anonymous posters are required to leave their contact information. 1 1
COMMENT_FORM_BELOW modules/comment/comment.module Comment form should be shown below post or list of comments. 8 1
COMMENT_FORM_SEPARATE_PAGE modules/comment/comment.module Comment form should be displayed on a separate page. 4 1
COMMENT_MODE_FLAT modules/comment/comment.module Comments are displayed in a flat list - expanded. 6 1
COMMENT_MODE_THREADED modules/comment/comment.module Comments are displayed as a threaded list - expanded. 17 1
COMMENT_NODE_CLOSED modules/comment/comment.module Comments for this node are closed. 5 1
COMMENT_NODE_HIDDEN modules/comment/comment.module Comments for this node are hidden. 9 1
COMMENT_NODE_OPEN modules/comment/comment.module Comments for this node are open. 13 1
COMMENT_NOT_PUBLISHED modules/comment/comment.module Comment is awaiting approval. 13 1
COMMENT_PUBLISHED modules/comment/comment.module Comment is published. 19 1
CSS_DEFAULT includes/common.inc The default group for module CSS files added to the page. 2 1
CSS_SYSTEM includes/common.inc The default group for system CSS files added to the page. 2 1
CSS_THEME includes/common.inc The default group for theme CSS files added to the page. 4 1
DRUPAL_ANONYMOUS_RID includes/bootstrap.inc Role ID for anonymous users; should match what's in the "role" table. 33 1
DRUPAL_AUTHENTICATED_RID includes/bootstrap.inc Role ID for authenticated users; should match what's in the "role" table. 17 1
DRUPAL_BOOTSTRAP_CONFIGURATION includes/bootstrap.inc First bootstrap phase: initialize configuration. 5 1
DRUPAL_BOOTSTRAP_DATABASE includes/bootstrap.inc Third bootstrap phase: initialize database layer. 3 1
DRUPAL_BOOTSTRAP_FULL includes/bootstrap.inc Final bootstrap phase: Drupal is fully loaded; validate and fix input data. 14 1
DRUPAL_BOOTSTRAP_LANGUAGE includes/bootstrap.inc Seventh bootstrap phase: find out language of the page. 2 1
DRUPAL_BOOTSTRAP_PAGE_CACHE includes/bootstrap.inc Second bootstrap phase: try to serve a cached page. 1 1
DRUPAL_BOOTSTRAP_PAGE_HEADER includes/bootstrap.inc Sixth bootstrap phase: set up the page header. 1 1
DRUPAL_BOOTSTRAP_SESSION includes/bootstrap.inc Fifth bootstrap phase: initialize session handling. 3 1
DRUPAL_BOOTSTRAP_VARIABLES includes/bootstrap.inc Fourth bootstrap phase: initialize the variable system. 5 1
DRUPAL_CACHE_CUSTOM includes/common.inc The block is handling its own caching in its hook_block_view(). 2 1
DRUPAL_CACHE_GLOBAL includes/common.inc The block or element is the same for every user and page that it is visible. 1 1
DRUPAL_CACHE_PER_PAGE includes/common.inc The block or element can change depending on the page being viewed. 4 1
DRUPAL_CACHE_PER_ROLE includes/common.inc The block or element can change depending on the user's roles. 8 1
DRUPAL_CACHE_PER_USER includes/common.inc The block or element can change depending on the user. 2 1
DRUPAL_CORE_COMPATIBILITY includes/bootstrap.inc Core API compatibility. 11 1
DRUPAL_CRON_DEFAULT_THRESHOLD modules/system/system.module Default interval for automatic cron executions in seconds. 2 1
DRUPAL_DISABLED modules/system/system.module Disabled option on forms and settings 11 1
DRUPAL_HASH_COUNT includes/password.inc The 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. 3 1
DRUPAL_HASH_LENGTH includes/password.inc The expected (and maximum) number of characters in a hashed password. 2 1
DRUPAL_KILOBYTE includes/bootstrap.inc The number of bytes in a kilobyte. 3 1
DRUPAL_MAXIMUM_TEMP_FILE_AGE modules/system/system.module Maximum age of temporary files in seconds. 2 1

Pages

Other projects