Constants - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
AGGREGATOR_CLEAR_NEVER modules/aggregator/aggregator.module Denotes that a feed's items should never expire. 4 1
ANNOUNCEMENTS_FEED_DEFAULT_CRON_INTERVAL modules/announcements_feed/announcements_feed.module Default cron interval for refreshing feed data in seconds. 1 1
ANNOUNCEMENTS_FEED_DEFAULT_JSON_URL modules/announcements_feed/announcements_feed.module Default URL for the announcements JSON feed. 1 1
ANNOUNCEMENTS_FEED_DEFAULT_LIMIT modules/announcements_feed/announcements_feed.module Default limit for number of feed items to fetch. 1 1
ANNOUNCEMENTS_FEED_DEFAULT_LINK modules/announcements_feed/announcements_feed.module Default URL for the announcements feed at drupal.org. 1 1
ANNOUNCEMENTS_FEED_DEFAULT_MAX_AGE modules/announcements_feed/announcements_feed.module Default maximum age of cached feed data in seconds. 1 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(). 189 11
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. 14 1
COMMENT_PUBLISHED modules/comment/comment.module Comment is published. 20 1
CSS_DEFAULT includes/common.inc The default group for module CSS files added to the page. 3 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

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.