Constants - 7.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
REGIONS_ALL | modules/ |
Return all regions. | 4 | 1 | |
REGIONS_VISIBLE | modules/ |
Return only visible regions. | 6 | 1 | |
REGISTRY_RESET_LOOKUP_CACHE | includes/ |
Signals that the registry lookup cache should be reset. | 2 | 1 | |
REGISTRY_WRITE_LOOKUP_CACHE | includes/ |
Signals that the registry lookup cache should be written to storage. | 2 | 1 | |
REQUEST_TIME | includes/ |
Time of the current request in seconds elapsed since the Unix Epoch. | 105 | 1 | |
REQUIRED_D6_SCHEMA_VERSION | includes/ |
Minimum schema version of Drupal 6 required for upgrade to Drupal 7. | 1 | 1 | |
REQUIREMENT_ERROR | includes/ |
Requirement severity -- Error condition; abort installation. | 21 | 1 | |
REQUIREMENT_INFO | includes/ |
Requirement severity -- Informational message only. | 6 | 1 | |
REQUIREMENT_OK | includes/ |
Requirement severity -- Requirement successfully met. | 9 | 1 | |
REQUIREMENT_WARNING | includes/ |
Requirement severity -- Warning condition; proceed but flag warning. | 13 | 1 | |
SAVED_DELETED | includes/ |
Return status for saving which deleted an existing item. | 2 | 1 | |
SAVED_NEW | includes/ |
Return status for saving which involved creating a new item. | 12 | 1 | |
SAVED_UPDATED | includes/ |
Return status for saving which involved an update to an existing item. | 12 | 1 | |
SCHEMA_INSTALLED | includes/ |
Indicates that a module has been installed. | 3 | 1 | |
SCHEMA_UNINSTALLED | includes/ |
Indicates that a module has not been installed yet. | 8 | 1 | |
SEARCH_TYPE | modules/ |
1 | 1 | ||
SEARCH_TYPE_2 | modules/ |
1 | 1 | ||
SEARCH_TYPE_JPN | modules/ |
1 | 1 | ||
SHORTCUT_DEFAULT_SET_NAME | modules/ |
The name of the default shortcut set. | 5 | 1 | |
SIMPLETEST_MINIMUM_PHP_MEMORY_LIMIT | modules/ |
Minimum value of PHP memory_limit for SimpleTest. | 1 | 1 | |
STREAM_WRAPPERS_ALL | includes/ |
Stream wrapper bit flag -- a filter that matches all wrappers. | 1 | ||
STREAM_WRAPPERS_HIDDEN | includes/ |
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 | includes/ |
Stream wrapper bit flag -- refers to a local file system location. | 3 | 1 | |
STREAM_WRAPPERS_LOCAL_HIDDEN | includes/ |
Stream wrapper type flag -- hidden, readable and writeable using local files. | 2 | 1 | |
STREAM_WRAPPERS_LOCAL_NORMAL | includes/ |
Stream wrapper type flag -- visible, readable and writeable using local files. | 2 | 1 | |
STREAM_WRAPPERS_NORMAL | includes/ |
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… | 2 | 1 | |
STREAM_WRAPPERS_READ | includes/ |
Stream wrapper bit flag -- wrapper is readable (almost always true). | 1 | 1 | |
STREAM_WRAPPERS_READ_VISIBLE | includes/ |
Stream wrapper type flag -- visible and read-only. | 1 | 1 | |
STREAM_WRAPPERS_VISIBLE | includes/ |
Stream wrapper bit flag -- exposed in the UI and potentially web accessible. | 1 | 1 | |
STREAM_WRAPPERS_WRITE | includes/ |
Stream wrapper bit flag -- wrapper is writeable. | 1 | 1 | |
STREAM_WRAPPERS_WRITE_VISIBLE | includes/ |
Stream wrapper type flag -- visible, readable and writeable. | 6 | 1 | |
TRANSLATION_ENABLED | modules/ |
Identifies a content type which has translation support enabled. | 1 | 1 | |
UNICODE_ERROR | includes/ |
Indicates an error during check for PHP unicode support. | 1 | 1 | |
UNICODE_MULTIBYTE | includes/ |
Indicates that full unicode support with the PHP mbstring extension is being used. | 6 | 1 | |
UNICODE_SINGLEBYTE | includes/ |
Indicates that standard PHP (emulated) unicode support is being used. | 3 | 1 | |
UPDATE_CURRENT | modules/ |
Project is up to date. | 5 | 1 | |
UPDATE_DEFAULT_URL | modules/ |
URL to check for updates, if a given project doesn't define its own. | 1 | 1 | |
UPDATE_FETCH_PENDING | modules/ |
We need to (re)fetch available update data for this project. | 5 | 1 | |
UPDATE_MAX_FETCH_ATTEMPTS | modules/ |
Maximum number of attempts to fetch available update data from a given host. | 1 | 4 | |
UPDATE_MAX_FETCH_TIME | modules/ |
Maximum number of seconds to try fetching available update data at a time. | 1 | 3 | |
UPDATE_NOT_CHECKED | modules/ |
Project's status cannot be checked. | 6 | 1 | |
UPDATE_NOT_CURRENT | modules/ |
Project has a new release available, but it is not a security release. | 7 | 1 | |
UPDATE_NOT_FETCHED | modules/ |
There was a failure fetching available update data for this project. | 5 | 1 | |
UPDATE_NOT_SECURE | modules/ |
Project is missing security update(s). | 8 | 1 | |
UPDATE_NOT_SUPPORTED | modules/ |
Current release is no longer supported by the project maintainer. | 6 | 1 | |
UPDATE_REVOKED | modules/ |
Current release has been unpublished and is no longer available. | 6 | 1 | |
UPDATE_UNKNOWN | modules/ |
No available update data was found for project. | 7 | 1 | |
USERNAME_MAX_LENGTH | modules/ |
Maximum length of username text field. | 6 | 1 | |
USER_REGISTER_ADMINISTRATORS_ONLY | modules/ |
Only administrators can create user accounts. | 4 | 1 | |
USER_REGISTER_VISITORS | modules/ |
Visitors can create their own accounts. | 17 | 1 |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.