Constants

Primary tabs

Name Locationsort descending Description Direct uses Strings
DRUPAL_CACHE_CUSTOM drupal/core/includes/common.inc The block is handling its own caching in its hook_block_view(). 2
DRUPAL_CACHE_PER_ROLE drupal/core/includes/common.inc The block or element can change depending on the user's roles. 5
DRUPAL_CACHE_PER_USER drupal/core/includes/common.inc The block or element can change depending on the user. 2
DRUPAL_CACHE_PER_PAGE drupal/core/includes/common.inc The block or element can change depending on the page being viewed. 3
DRUPAL_CACHE_GLOBAL drupal/core/includes/common.inc The block or element is the same for every user and page that it is visible. 1
LOCALE_PLURAL_DELIMITER drupal/core/includes/common.inc The delimiter used to split plural strings. 8
STREAM_WRAPPERS_ALL drupal/core/includes/file.inc Stream wrapper bit flag -- a filter that matches all wrappers.
STREAM_WRAPPERS_LOCAL drupal/core/includes/file.inc Stream wrapper bit flag -- refers to a local file system location. 2
STREAM_WRAPPERS_READ drupal/core/includes/file.inc Stream wrapper bit flag -- wrapper is readable (almost always true). 1
STREAM_WRAPPERS_WRITE drupal/core/includes/file.inc Stream wrapper bit flag -- wrapper is writeable. 1
STREAM_WRAPPERS_VISIBLE drupal/core/includes/file.inc Stream wrapper bit flag -- exposed in the UI and potentially web accessible. 1
STREAM_WRAPPERS_HIDDEN drupal/core/includes/file.inc Stream wrapper type flag -- not visible in the UI or accessible via web, but readable and writable. E.g. the temporary directory for uploads. 1 1
STREAM_WRAPPERS_LOCAL_HIDDEN drupal/core/includes/file.inc Stream wrapper type flag -- hidden, readable and writeable using local files. 3 1
STREAM_WRAPPERS_WRITE_VISIBLE drupal/core/includes/file.inc Stream wrapper type flag -- visible, readable and writeable. 5 1
STREAM_WRAPPERS_READ_VISIBLE drupal/core/includes/file.inc Stream wrapper type flag -- visible and read-only. 1 1
STREAM_WRAPPERS_NORMAL drupal/core/includes/file.inc Stream wrapper type flag -- the default when 'type' is omitted from hook_stream_wrappers(). This does not include STREAM_WRAPPERS_LOCAL, because PHP grants a greater trust level to local files (for example, they can be used in an… 1 1
STREAM_WRAPPERS_LOCAL_NORMAL drupal/core/includes/file.inc Stream wrapper type flag -- visible, readable and writeable using local files. 2 1
FILE_CREATE_DIRECTORY drupal/core/includes/file.inc Flag used by file_prepare_directory() -- create directory if not present. 24
FILE_MODIFY_PERMISSIONS drupal/core/includes/file.inc Flag used by file_prepare_directory() -- file permissions may be changed. 10
FILE_EXISTS_RENAME drupal/core/includes/file.inc Flag for dealing with existing files: Appends number until name is unique. 18
FILE_EXISTS_REPLACE drupal/core/includes/file.inc Flag for dealing with existing files: Replace the existing file. 26
FILE_EXISTS_ERROR drupal/core/includes/file.inc Flag for dealing with existing files: Do nothing and return FALSE. 12
FILE_STATUS_PERMANENT drupal/core/includes/file.inc Indicates that the file is permanent and should not be deleted. 19
INSTALL_TASK_SKIP drupal/core/includes/install.core.inc Do not run the task during the current installation request. 3
INSTALL_TASK_RUN_IF_REACHED drupal/core/includes/install.core.inc Run the task on each installation request that reaches it. 2
INSTALL_TASK_RUN_IF_NOT_COMPLETED drupal/core/includes/install.core.inc Run the task on each installation request until the database is set up. 3
REQUIREMENT_INFO drupal/core/includes/install.inc Requirement severity -- Informational message only. 3
REQUIREMENT_OK drupal/core/includes/install.inc Requirement severity -- Requirement successfully met. 2
REQUIREMENT_WARNING drupal/core/includes/install.inc Requirement severity -- Warning condition; proceed but flag warning. 12
REQUIREMENT_ERROR drupal/core/includes/install.inc Requirement severity -- Error condition; abort installation. 19
FILE_EXIST drupal/core/includes/install.inc File permission check -- File exists. 6
FILE_READABLE drupal/core/includes/install.inc File permission check -- File is readable. 7
FILE_WRITABLE drupal/core/includes/install.inc File permission check -- File is writable. 6
FILE_EXECUTABLE drupal/core/includes/install.inc File permission check -- File is executable. 3
FILE_NOT_EXIST drupal/core/includes/install.inc File permission check -- File does not exist. 1
FILE_NOT_READABLE drupal/core/includes/install.inc File permission check -- File is not readable. 3
FILE_NOT_WRITABLE drupal/core/includes/install.inc File permission check -- File is not writable. 5
FILE_NOT_EXECUTABLE drupal/core/includes/install.inc File permission check -- File is not executable. 3
LANGUAGE_NEGOTIATION_SELECTED drupal/core/includes/language.inc No language negotiation. The default language is used. 6
MAIL_LINE_ENDINGS drupal/core/includes/mail.inc Auto-detect appropriate line endings for e-mails. 3 1
MENU_IS_ROOT drupal/core/includes/menu.inc Internal menu flag -- menu item is the root of the menu tree.
MENU_VISIBLE_IN_TREE drupal/core/includes/menu.inc Internal menu flag -- menu item is visible in the menu tree. 4
MENU_VISIBLE_IN_BREADCRUMB drupal/core/includes/menu.inc Internal menu flag -- menu item is visible in the breadcrumb. 9
MENU_LINKS_TO_PARENT drupal/core/includes/menu.inc Internal menu flag -- menu item links back to its parent. 4
MENU_MODIFIED_BY_ADMIN drupal/core/includes/menu.inc Internal menu flag -- menu item can be modified by administrator.
MENU_CREATED_BY_ADMIN drupal/core/includes/menu.inc Internal menu flag -- menu item was created by administrator.
MENU_IS_LOCAL_TASK drupal/core/includes/menu.inc Internal menu flag -- menu item is a local task. 3
MENU_IS_LOCAL_ACTION drupal/core/includes/menu.inc Internal menu flag -- menu item is a local action. 1
MENU_NORMAL_ITEM drupal/core/includes/menu.inc Menu type -- A "normal" menu item that's shown in menu and breadcrumbs. 6 1
MENU_CALLBACK drupal/core/includes/menu.inc Menu type -- A hidden, internal callback, typically used for API calls. 35

Pages

Other projects