Search for all

  1. Search 9.5.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
drupal_session_started function includes/session.inc Returns whether a session has been started.
drupal_setcookie function includes/bootstrap.inc Drupal's wrapper around PHP's setcookie() function.
drupal_settings_initialize function includes/bootstrap.inc Sets the base URL, cookie domain, and session name from configuration.
drupal_set_breadcrumb function includes/common.inc Sets the breadcrumb trail for the current page.
drupal_set_installed_schema_version function includes/install.inc Update the installed version information for a module.
drupal_set_message function includes/bootstrap.inc Sets a message to display to the user.
drupal_set_page_content function includes/common.inc Sets the main page content value for later use.
drupal_set_time_limit function includes/common.inc Attempts to set the PHP maximum execution time.
drupal_set_title function includes/bootstrap.inc Sets the title of the current page.
drupal_site_offline function includes/common.inc Delivers a "site is under maintenance" message to the browser.
drupal_sort_css_js function includes/common.inc Sorts CSS and JavaScript resources.
drupal_sort_title function includes/common.inc Array sorting callback; sorts elements by 'title' key.
drupal_sort_weight function includes/common.inc Sorts a structured array by the 'weight' element.
drupal_static function includes/bootstrap.inc Provides central static variable storage.
drupal_static_reset function includes/bootstrap.inc Resets one or all centrally stored static variable(s).
drupal_strip_dangerous_protocols function includes/common.inc Strips dangerous protocols (e.g. 'javascript:') from a URI.
drupal_strlen function includes/unicode.inc Counts the number of characters in a UTF-8 string.
drupal_strtolower function includes/unicode.inc Lowercase a UTF-8 string.
drupal_strtoupper function includes/unicode.inc Uppercase a UTF-8 string.
drupal_substr function includes/unicode.inc Cuts off a piece of a string based on character indices and counts.
drupal_system_listing function includes/common.inc Returns information about system object files (modules, themes, etc.).
drupal_system_listing_compatible_test.info file modules/simpletest/tests/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info name = "Drupal system listing compatible test"
description = "Support module for testing the drupal_system_listing function."
package = Testing
version = VERSION
core = 7.x
hidden = TRUE
drupal_system_listing_compatible_test.info file profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info name = "Drupal system listing compatible test"
description = "Support module for testing the drupal_system_listing function."
package = Testing
version = VERSION
core = 7.x
hidden = TRUE
files[] =…
drupal_system_listing_compatible_test.module file profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module
drupal_system_listing_compatible_test.module file modules/simpletest/tests/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module
drupal_system_listing_compatible_test.test file profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test
drupal_system_listing_incompatible_test.info file profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info name = "Drupal system listing incompatible test"
description = "Support module for testing the drupal_system_listing function."
package = Testing
version = VERSION
; This deliberately has the wrong core version, to test that it…
drupal_system_listing_incompatible_test.info file modules/simpletest/tests/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info name = "Drupal system listing incompatible test"
description = "Support module for testing the drupal_system_listing function."
package = Testing
version = VERSION
core = 7.x
hidden = TRUE
drupal_system_listing_incompatible_test.module file modules/simpletest/tests/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module
drupal_system_listing_incompatible_test.module file profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module
drupal_tempnam function includes/file.inc Creates a file with a unique filename in the specified directory.
drupal_theme_access function includes/theme.inc Determines if a theme is available to use.
drupal_theme_initialize function includes/theme.inc Initializes the theme system by loading the theme.
drupal_theme_rebuild function includes/theme.inc Forces the system to rebuild the theme registry.
drupal_trigger_fatal_error function includes/bootstrap.inc Invoke trigger_error() using a fatal error that will terminate the request.
drupal_truncate_bytes function includes/unicode.inc Truncates a UTF-8-encoded string safely to a number of bytes.
drupal_ucfirst function includes/unicode.inc Capitalizes the first letter of a UTF-8 string.
drupal_uninstall_modules function includes/install.inc Uninstalls a given list of disabled modules.
drupal_uninstall_schema function includes/common.inc Removes all tables defined in a module's hook_schema().
drupal_unlink function includes/file.inc Deletes a file.
drupal_unpack function includes/bootstrap.inc Unserializes and appends elements from a serialized string.
DRUPAL_USER_TIMEZONE_DEFAULT constant modules/system/system.module New users will be set to the default time zone at registration.
DRUPAL_USER_TIMEZONE_EMPTY constant modules/system/system.module New users will get an empty time zone at registration.
DRUPAL_USER_TIMEZONE_SELECT constant modules/system/system.module New users will select their own timezone at registration.
drupal_validate_form function includes/form.inc Validates user-submitted form data in the $form_state array.
drupal_validate_utf8 function includes/bootstrap.inc Checks whether a string is valid UTF-8.
drupal_valid_http_host function includes/bootstrap.inc Validates that a hostname (for example $_SERVER['HTTP_HOST']) is safe.
drupal_valid_path function includes/path.inc Checks a path exists and the current user has access to it.
drupal_valid_test_ua function includes/bootstrap.inc Returns the test prefix if this is an internal request from SimpleTest.
drupal_valid_token function includes/common.inc Validates a token based on $value, the user session, and the private key.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.