Constants

Primary tabs

Name Location Description Direct uses Stringssort descending
NODE_NOT_PUBLISHED drupal/modules/node/node.module Node is not published. 6 1
NODE_PUBLISHED drupal/modules/node/node.module Node is published. 6 1
NODE_NOT_PROMOTED drupal/modules/node/node.module Node is not promoted to front page. 3 1
NODE_PROMOTED drupal/modules/node/node.module Node is promoted to front page. 3 1
NODE_NOT_STICKY drupal/modules/node/node.module Node is not sticky at top of the page. 3 1
NODE_STICKY drupal/modules/node/node.module Node is sticky at top of the page. 3 1
NODE_NEW_LIMIT drupal/modules/node/node.module Nodes changed before this time are always marked as read. 3 1
NODE_ACCESS_ALLOW drupal/modules/node/node.module Modules should return this value from hook_node_access() to allow access to a node. 3 1
NODE_ACCESS_DENY drupal/modules/node/node.module Modules should return this value from hook_node_access() to deny access to a node. 1 1
NODE_ACCESS_IGNORE drupal/modules/node/node.module Modules should return this value from hook_node_access() to not affect node access. 2 1
USERNAME_MAX_LENGTH drupal/modules/user/user.module Maximum length of username text field. 6 1
EMAIL_MAX_LENGTH drupal/modules/user/user.module Maximum length of user e-mail text field. 3 1
USER_REGISTER_ADMINISTRATORS_ONLY drupal/modules/user/user.module Only administrators can create user accounts. 4 1
USER_REGISTER_VISITORS drupal/modules/user/user.module Visitors can create their own accounts. 17 1
USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL drupal/modules/user/user.module Visitors can create accounts, but they don't become active without administrative approval. 12 1
RDF_DEFAULT_BUNDLE drupal/modules/rdf/rdf.module RDF bundle flag: Default bundle. 6 1
TRANSLATION_ENABLED drupal/modules/translation/translation.module Identifies a content type which has translation support enabled. 1 1
COMMENT_NOT_PUBLISHED drupal/modules/comment/comment.module Comment is awaiting approval. 13 1
COMMENT_PUBLISHED drupal/modules/comment/comment.module Comment is published. 19 1
COMMENT_MODE_FLAT drupal/modules/comment/comment.module Comments are displayed in a flat list - expanded. 6 1
COMMENT_MODE_THREADED drupal/modules/comment/comment.module Comments are displayed as a threaded list - expanded. 17 1
COMMENT_ANONYMOUS_MAYNOT_CONTACT drupal/modules/comment/comment.module Anonymous posters cannot enter their contact information. 2 1
COMMENT_ANONYMOUS_MAY_CONTACT drupal/modules/comment/comment.module Anonymous posters may leave their contact information. 2 1
COMMENT_ANONYMOUS_MUST_CONTACT drupal/modules/comment/comment.module Anonymous posters are required to leave their contact information. 1 1
COMMENT_FORM_SEPARATE_PAGE drupal/modules/comment/comment.module Comment form should be displayed on a separate page. 4 1
COMMENT_FORM_BELOW drupal/modules/comment/comment.module Comment form should be shown below post or list of comments. 8 1
COMMENT_NODE_HIDDEN drupal/modules/comment/comment.module Comments for this node are hidden. 9 1
COMMENT_NODE_CLOSED drupal/modules/comment/comment.module Comments for this node are closed. 5 1
COMMENT_NODE_OPEN drupal/modules/comment/comment.module Comments for this node are open. 13 1
BLOCK_REGION_NONE drupal/modules/block/block.module Denotes that a block is not enabled in any region and should not be shown. 7 1
BLOCK_CUSTOM_FIXED drupal/modules/block/block.module Users cannot control whether or not they see this block. 2 1
BLOCK_CUSTOM_ENABLED drupal/modules/block/block.module Shows this block by default, but lets individual users hide it. 2 1
BLOCK_CUSTOM_DISABLED drupal/modules/block/block.module Hides this block by default but lets individual users show it. 1 1
BLOCK_VISIBILITY_NOTLISTED drupal/modules/block/block.module Shows this block on every page except the listed pages. 1 1
BLOCK_VISIBILITY_LISTED drupal/modules/block/block.module Shows this block on only the listed pages. 3 1
BLOCK_VISIBILITY_PHP drupal/modules/block/block.module Shows this block if the associated PHP code returns TRUE. 2 1
IMAGE_STORAGE_NORMAL drupal/modules/image/image.module Image style constant for user presets in the database. 3 1
IMAGE_STORAGE_OVERRIDE drupal/modules/image/image.module Image style constant for user presets that override module-defined presets. 3 1
IMAGE_STORAGE_DEFAULT drupal/modules/image/image.module Image style constant for module-defined presets in code. 3 1
IMAGE_STORAGE_EDITABLE drupal/modules/image/image.module Image style constant to represent an editable preset. 2 1
IMAGE_STORAGE_MODULE drupal/modules/image/image.module Image style constant to represent any module-based preset. 1
IMAGE_DERIVATIVE_TOKEN drupal/modules/image/image.module The name of the query parameter for image derivative tokens. 1 1
POSTGRESQL_NEXTID_LOCK drupal/includes/database/pgsql/database.inc The name by which to obtain a lock for retrieving the next insert id. 1 1
FILE_URL_TEST_CDN_1 drupal/modules/simpletest/tests/file_test.module @file Helper module for the file tests. 2 1
FILE_URL_TEST_CDN_2 drupal/modules/simpletest/tests/file_test.module 3 1
DRUPAL_ROOT drupal/authorize.php Defines the root directory of the Drupal installation. 162 9
DRUPAL_ROOT drupal/install.php Defines the root directory of the Drupal installation. 162 9
DRUPAL_ROOT drupal/update.php Defines the root directory of the Drupal installation. 162 9
DRUPAL_ROOT drupal/xmlrpc.php Root directory of Drupal installation. 162 9
DRUPAL_ROOT drupal/index.php Root directory of Drupal installation. 162 9

Pages

Other projects