Constants - 7.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
AGGREGATOR_CLEAR_NEVER | modules/ |
Denotes that a feed's items should never expire. | 4 | 1 | |
ANNOUNCEMENTS_FEED_DEFAULT_CRON_INTERVAL | modules/ |
Default cron interval for refreshing feed data in seconds. | 1 | 1 | |
ANNOUNCEMENTS_FEED_DEFAULT_JSON_URL | modules/ |
Default URL for the announcements JSON feed. | 1 | 1 | |
ANNOUNCEMENTS_FEED_DEFAULT_LIMIT | modules/ |
Default limit for number of feed items to fetch. | 1 | 1 | |
ANNOUNCEMENTS_FEED_DEFAULT_LINK | modules/ |
Default URL for the announcements feed at drupal.org. | 1 | 1 | |
ANNOUNCEMENTS_FEED_DEFAULT_MAX_AGE | modules/ |
Default maximum age of cached feed data in seconds. | 1 | 1 | |
ARCHIVE_TAR_ATT_SEPARATOR | modules/ |
1 | 1 | ||
ARCHIVE_TAR_END_BLOCK | modules/ |
1 | 1 | ||
BLOCK_CUSTOM_DISABLED | modules/ |
Hides this block by default but lets individual users show it. | 1 | 1 | |
BLOCK_CUSTOM_ENABLED | modules/ |
Shows this block by default, but lets individual users hide it. | 2 | 1 | |
BLOCK_CUSTOM_FIXED | modules/ |
Users cannot control whether or not they see this block. | 2 | 1 | |
BLOCK_REGION_NONE | modules/ |
Denotes that a block is not enabled in any region and should not be shown. | 7 | 1 | |
BLOCK_VISIBILITY_LISTED | modules/ |
Shows this block on only the listed pages. | 3 | 1 | |
BLOCK_VISIBILITY_NOTLISTED | modules/ |
Shows this block on every page except the listed pages. | 1 | 1 | |
BLOCK_VISIBILITY_PHP | modules/ |
Shows this block if the associated PHP code returns TRUE. | 2 | 1 | |
CACHE_PERMANENT | includes/ |
Indicates that the item should never be removed unless explicitly selected. | 2 | 1 | |
CACHE_TEMPORARY | includes/ |
Indicates that the item should be removed at the next general cache wipe. | 3 | 1 | |
CHECK_PLAIN | includes/ |
Flag used to indicate that text is not sanitized, so run check_plain(). | 189 | 11 | |
COMMENT_ANONYMOUS_MAYNOT_CONTACT | modules/ |
Anonymous posters cannot enter their contact information. | 2 | 1 | |
COMMENT_ANONYMOUS_MAY_CONTACT | modules/ |
Anonymous posters may leave their contact information. | 2 | 1 | |
COMMENT_ANONYMOUS_MUST_CONTACT | modules/ |
Anonymous posters are required to leave their contact information. | 1 | 1 | |
COMMENT_FORM_BELOW | modules/ |
Comment form should be shown below post or list of comments. | 8 | 1 | |
COMMENT_FORM_SEPARATE_PAGE | modules/ |
Comment form should be displayed on a separate page. | 4 | 1 | |
COMMENT_MODE_FLAT | modules/ |
Comments are displayed in a flat list - expanded. | 6 | 1 | |
COMMENT_MODE_THREADED | modules/ |
Comments are displayed as a threaded list - expanded. | 17 | 1 | |
COMMENT_NODE_CLOSED | modules/ |
Comments for this node are closed. | 5 | 1 | |
COMMENT_NODE_HIDDEN | modules/ |
Comments for this node are hidden. | 9 | 1 | |
COMMENT_NODE_OPEN | modules/ |
Comments for this node are open. | 13 | 1 | |
COMMENT_NOT_PUBLISHED | modules/ |
Comment is awaiting approval. | 14 | 1 | |
COMMENT_PUBLISHED | modules/ |
Comment is published. | 20 | 1 | |
CSS_DEFAULT | includes/ |
The default group for module CSS files added to the page. | 3 | 1 | |
CSS_SYSTEM | includes/ |
The default group for system CSS files added to the page. | 2 | 1 | |
CSS_THEME | includes/ |
The default group for theme CSS files added to the page. | 4 | 1 | |
DRUPAL_ANONYMOUS_RID | includes/ |
Role ID for anonymous users; should match what's in the "role" table. | 33 | 1 | |
DRUPAL_AUTHENTICATED_RID | includes/ |
Role ID for authenticated users; should match what's in the "role" table. | 17 | 1 | |
DRUPAL_BOOTSTRAP_CONFIGURATION | includes/ |
First bootstrap phase: initialize configuration. | 5 | 1 | |
DRUPAL_BOOTSTRAP_DATABASE | includes/ |
Third bootstrap phase: initialize database layer. | 3 | 1 | |
DRUPAL_BOOTSTRAP_FULL | includes/ |
Final bootstrap phase: Drupal is fully loaded; validate and fix input data. | 14 | 1 | |
DRUPAL_BOOTSTRAP_LANGUAGE | includes/ |
Seventh bootstrap phase: find out language of the page. | 2 | 1 | |
DRUPAL_BOOTSTRAP_PAGE_CACHE | includes/ |
Second bootstrap phase: try to serve a cached page. | 1 | 1 | |
DRUPAL_BOOTSTRAP_PAGE_HEADER | includes/ |
Sixth bootstrap phase: set up the page header. | 1 | 1 | |
DRUPAL_BOOTSTRAP_SESSION | includes/ |
Fifth bootstrap phase: initialize session handling. | 3 | 1 | |
DRUPAL_BOOTSTRAP_VARIABLES | includes/ |
Fourth bootstrap phase: initialize the variable system. | 5 | 1 | |
DRUPAL_CACHE_CUSTOM | includes/ |
The block is handling its own caching in its hook_block_view(). | 2 | 1 | |
DRUPAL_CACHE_GLOBAL | includes/ |
The block or element is the same for every user and page that it is visible. | 1 | 1 | |
DRUPAL_CACHE_PER_PAGE | includes/ |
The block or element can change depending on the page being viewed. | 4 | 1 | |
DRUPAL_CACHE_PER_ROLE | includes/ |
The block or element can change depending on the user's roles. | 8 | 1 | |
DRUPAL_CACHE_PER_USER | includes/ |
The block or element can change depending on the user. | 2 | 1 | |
DRUPAL_CORE_COMPATIBILITY | includes/ |
Core API compatibility. | 11 | 1 | |
DRUPAL_CRON_DEFAULT_THRESHOLD | modules/ |
Default interval for automatic cron executions in seconds. | 2 | 1 |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.