Search for drupal_

  1. Search 9.5.x for drupal_
  2. Search 8.9.x for drupal_
  3. Search 10.3.x for drupal_
  4. Search 11.x for drupal_
  5. Other projects
Title Object type File name Summary
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.
drupal_var_export function includes/utility.inc Drupal-friendly var_export().
drupal_verify_install_file function includes/install.inc Verifies the state of the specified file.
drupal_verify_profile function includes/install.inc Verifies an installation profile for installation.
drupal_web_test_case.php file modules/simpletest/drupal_web_test_case.php
DRUPAL_WEIGHT_SELECT_MAX constant modules/system/system.module Maximum number of values in a weight select element.
drupal_wrap_mail function includes/mail.inc Performs format=flowed soft wrapping for mail (RFC 3676).
drupal_write_record function includes/common.inc Saves (inserts or updates) a record to the database based upon the schema.
drupal_xml_parser_create function includes/unicode.inc Prepares a new XML parser.
FrontPageTestCase::testDrupalIsFrontPage function modules/system/system.test Test front page functionality.
hook_drupal_goto_alter function modules/system/system.api.php Change the page the user is sent to by drupal_goto().
InfoFileParserTestCase::testDrupalParseInfoFormat function modules/system/system.test Test drupal_parse_info_format().
ModuleInstallTestCase::testDrupalWriteRecord function modules/simpletest/tests/module.test Test that calls to drupal_write_record() work during module installation.
overlay_drupal_goto_alter function modules/overlay/overlay.module Implements hook_drupal_goto_alter().
PathLookupTest::testDrupalLookupPath function modules/simpletest/tests/path.test Test that drupal_lookup_path() returns the correct path.
PathSaveTest::testDrupalSaveOriginalPath function modules/simpletest/tests/path.test Tests that path_save() makes the original path available to modules.
RdfRdfaMarkupTestCase::testDrupalRdfaAttributes function modules/rdf/rdf.test Test rdf_rdfa_attributes().
session_test_drupal_goto_alter function modules/simpletest/tests/session_test.module Implements hook_drupal_goto_alter().
SystemAuthorizeCase::drupalGetAuthorizePHP function modules/system/system.test Helper function to initialize authorize.php and load it via drupalGet().
system_test_drupal_get_filename function modules/simpletest/tests/system_test.module Page callback to run drupal_get_filename() on a particular module.
system_test_drupal_get_filename_with_schema_rebuild function modules/simpletest/tests/system_test.module Page callback to run drupal_get_filename() and do a schema rebuild.
system_test_drupal_set_message function modules/simpletest/tests/system_test.module Sets two messages and removes the first one before the messages are displayed.
ThemeLinksTest::testDrupalPreRenderLinks function modules/simpletest/tests/theme.test Test the use of drupal_pre_render_links() on a nested array of links.
ThemeTestCase::testDrupalAddRegionContent function modules/simpletest/tests/theme.test Test the drupal_add_region_content() function.
_batch_test_nested_drupal_form_submit_callback function modules/simpletest/tests/batch_test.module Batch operation: submits form_test_mock_form using drupal_form_submit().
_drupal_bootstrap_configuration function includes/bootstrap.inc Sets up the script environment and loads settings.php.
_drupal_bootstrap_database function includes/bootstrap.inc Initializes the database system and registers autoload functions.
_drupal_bootstrap_full function includes/common.inc
_drupal_bootstrap_page_cache function includes/bootstrap.inc Attempts to serve a page from the cache.
_drupal_bootstrap_page_header function includes/bootstrap.inc Invokes hook_boot(), initializes locking system, and sends HTTP headers.
_drupal_bootstrap_variables function includes/bootstrap.inc Loads system variables and all enabled bootstrap modules.
_drupal_build_css_path function includes/common.inc Prefixes all paths within a CSS file for drupal_build_css_cache().
_drupal_cookie_params function includes/bootstrap.inc Process the params for cookies. This emulates support for the SameSite
attribute in earlier versions of PHP, and allows the value of that attribute
to be overridden.
_drupal_decode_exception function includes/errors.inc Decodes an exception and retrieves the correct caller.

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