Constants

Primary tabs

Name Location Description Direct uses Stringssort descending
FILTER_TYPE_MARKUP_LANGUAGE drupal/core/modules/filter/filter.module Non-HTML markup language filters that generate HTML. 4
FILTER_TYPE_HTML_RESTRICTOR drupal/core/modules/filter/filter.module HTML tag and attribute restricting filters. 5
FILTER_TYPE_TRANSFORM_REVERSIBLE drupal/core/modules/filter/filter.module Reversible transformation filters.
FILTER_TYPE_TRANSFORM_IRREVERSIBLE drupal/core/modules/filter/filter.module Irreversible transformation filters. 1
LANGUAGE_NEGOTIATION_URL drupal/core/modules/language/language.negotiation.inc The language is determined using path prefix or domain. 3
LANGUAGE_NEGOTIATION_BROWSER drupal/core/modules/language/language.negotiation.inc The language is set based on the browser language settings. 1
LANGUAGE_NEGOTIATION_INTERFACE drupal/core/modules/language/language.negotiation.inc The language is determined using the current interface language. 2
LANGUAGE_NEGOTIATION_URL_FALLBACK drupal/core/modules/language/language.negotiation.inc If no URL language, language is determined using an already detected one. 1
LANGUAGE_NEGOTIATION_USER drupal/core/modules/language/language.negotiation.inc The language is set based on the user language settings. 1
LANGUAGE_NEGOTIATION_USER_ADMIN drupal/core/modules/language/language.negotiation.inc The language is set based on the user admin language settings. 1
LANGUAGE_NEGOTIATION_SESSION drupal/core/modules/language/language.negotiation.inc The language is set based on the request/session parameters. 1
LANGUAGE_NEGOTIATION_URL_PREFIX drupal/core/modules/language/language.negotiation.inc URL language negotiation: use the path prefix as URL language indicator. 6
LANGUAGE_NEGOTIATION_URL_DOMAIN drupal/core/modules/language/language.negotiation.inc URL language negotiation: use the domain as URL language indicator. 7
MENU_MAX_MENU_NAME_LENGTH_UI drupal/core/modules/menu/menu.module Maximum length of menu name as entered by the user. Database length is 32 and we add a menu- prefix. 3
COMMENT_NOT_PUBLISHED drupal/core/modules/comment/comment.module Comment is awaiting approval. 13
COMMENT_PUBLISHED drupal/core/modules/comment/comment.module Comment is published. 23
COMMENT_MODE_FLAT drupal/core/modules/comment/comment.module Comments are displayed in a flat list - expanded. 6
COMMENT_MODE_THREADED drupal/core/modules/comment/comment.module Comments are displayed as a threaded list - expanded. 17
COMMENT_ANONYMOUS_MAYNOT_CONTACT drupal/core/modules/comment/comment.module Anonymous posters cannot enter their contact information. 2
COMMENT_ANONYMOUS_MAY_CONTACT drupal/core/modules/comment/comment.module Anonymous posters may leave their contact information. 2
COMMENT_ANONYMOUS_MUST_CONTACT drupal/core/modules/comment/comment.module Anonymous posters are required to leave their contact information. 1
COMMENT_FORM_SEPARATE_PAGE drupal/core/modules/comment/comment.module Comment form should be displayed on a separate page. 5
COMMENT_FORM_BELOW drupal/core/modules/comment/comment.module Comment form should be shown below post or list of comments. 8
COMMENT_NODE_HIDDEN drupal/core/modules/comment/comment.module Comments for this node are hidden. 10
COMMENT_NODE_CLOSED drupal/core/modules/comment/comment.module Comments for this node are closed. 6
COMMENT_NODE_OPEN drupal/core/modules/comment/comment.module Comments for this node are open. 15
FILE_URL_TEST_CDN_1 drupal/core/modules/file/tests/file_test/file_test.module 2
FILE_URL_TEST_CDN_2 drupal/core/modules/file/tests/file_test/file_test.module 3
SEARCH_TYPE drupal/core/modules/search/lib/Drupal/search/Tests/SearchMatchTest.php 1
SEARCH_TYPE_2 drupal/core/modules/search/lib/Drupal/search/Tests/SearchMatchTest.php 1
SEARCH_TYPE_JPN drupal/core/modules/search/lib/Drupal/search/Tests/SearchMatchTest.php 1
PREG_CLASS_UNICODE_WORD_BOUNDARY drupal/core/includes/unicode.inc Matches Unicode characters that are word boundaries. 3 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. 2 1
STREAM_WRAPPERS_WRITE_VISIBLE drupal/core/includes/file.inc Stream wrapper type flag -- visible, readable and writeable. 4 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. 3 1
REQUEST_TIME drupal/core/includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch. 130 1
MAIL_LINE_ENDINGS drupal/core/includes/mail.inc Auto-detect appropriate line endings for e-mails. 3 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_SUGGESTED_ITEM drupal/core/includes/menu.inc Menu type -- A normal menu item, hidden until enabled by an administrator. 9 1
MENU_LOCAL_TASK drupal/core/includes/menu.inc Menu type -- A task specific to the parent item, usually rendered as a tab. 30 1
MENU_DEFAULT_LOCAL_TASK drupal/core/includes/menu.inc Menu type -- The "default" local task, which is initially active. 32 1
MENU_LOCAL_ACTION drupal/core/includes/menu.inc Menu type -- An action specific to the parent, usually rendered as a link. 19 1
OPENID_DH_DEFAULT_MOD drupal/core/modules/openid/openid.inc Diffie-Hellman Key Exchange Default Value. 2 1
FIELD_LOAD_CURRENT drupal/core/modules/field/field.module Load the most recent version of an entity's field data. 14 1
FIELD_LOAD_REVISION drupal/core/modules/field/field.module Load the version of an entity's field data specified in the entity. 3 1
PREG_CLASS_NUMBERS drupal/core/modules/search/search.module Matches all 'N' Unicode character classes (numbers) 1 1
PREG_CLASS_PUNCTUATION drupal/core/modules/search/search.module Matches all 'P' Unicode character classes (punctuation) 1 1

Pages

Other projects