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_get_region_content function includes/common.inc Gets assigned content for a given region.
drupal_get_schema function includes/bootstrap.inc Gets the schema definition of a table, or the whole database schema.
drupal_get_schema_unprocessed function includes/common.inc Returns the unprocessed and unaltered version of a module's schema.
drupal_get_schema_versions function includes/install.inc Returns an array of available schema versions for a module.
drupal_get_title function includes/bootstrap.inc Gets the title of the current page.
drupal_get_token function includes/common.inc Generates a token based on $value, the user session, and the private key.
drupal_get_updaters function includes/common.inc Assembles the Drupal Updater registry.
drupal_get_user_timezone function includes/bootstrap.inc Returns the time zone of the current user.
drupal_goto function includes/common.inc Sends the user to a different page.
drupal_group_css function includes/common.inc Default callback to group CSS items.
drupal_hash_base64 function includes/bootstrap.inc Calculates a base-64 encoded, URL-safe sha-256 hash.
DRUPAL_HASH_COUNT constant includes/password.inc The standard log2 number of iterations for password stretching. This should
increase by 1 every Drupal version in order to counteract increases in the
speed and power of computers available to crack the hashes.
DRUPAL_HASH_LENGTH constant includes/password.inc The expected (and maximum) number of characters in a hashed password.
drupal_help_arg function includes/menu.inc Generates elements for the $arg array in the help hook.
drupal_hmac_base64 function includes/bootstrap.inc Calculates a base-64 encoded, URL-safe sha-256 hmac.
drupal_html_class function includes/common.inc Prepares a string for use as a valid class name.
drupal_html_id function includes/common.inc Prepares a string for use as a valid HTML ID and guarantees uniqueness.
drupal_html_to_text function includes/mail.inc Transforms an HTML string into plain text, preserving its structure.
drupal_http_build_query function includes/common.inc Parses an array into a valid, rawurlencoded query string.
drupal_http_header_attributes function includes/common.inc Formats an attribute string for an HTTP header.
drupal_http_request function includes/common.inc Performs an HTTP request.
drupal_implode_tags function includes/common.inc Implodes an array of tags into a string.
drupal_installation_attempted function includes/bootstrap.inc Returns TRUE if a Drupal installation is currently being attempted.
drupal_install_fix_file function includes/install.inc Attempts to fix file permissions.
drupal_install_mkdir function includes/install.inc Creates a directory with the specified permissions.
drupal_install_profile_distribution_name function includes/install.inc Loads the installation profile, extracting its defined distribution name.
drupal_install_schema function includes/common.inc Creates all tables defined in a module's hook_schema().
drupal_install_system function includes/install.inc Installs the system module.
drupal_is_cli function includes/bootstrap.inc Detects whether the current script is running in a command-line environment.
drupal_is_denied function includes/bootstrap.inc Checks to see if an IP address has been blocked.
drupal_is_front_page function includes/path.inc Check if the current page is the front page.
drupal_is_https function includes/bootstrap.inc Checks whether an HTTPS request is being served.
drupal_json_decode function includes/common.inc Converts an HTML-safe JSON string into its PHP equivalent.
drupal_json_encode function includes/common.inc Converts a PHP variable into its JavaScript equivalent.
drupal_json_encode_helper function includes/json-encode.inc Encodes a PHP variable to HTML-safe JSON for PHP versions below 5.3.0.
drupal_json_output function includes/common.inc Returns data in JSON format.
drupal_js_defaults function includes/common.inc Constructs an array of the defaults that are used for JavaScript items.
DRUPAL_KILOBYTE constant includes/bootstrap.inc The number of bytes in a kilobyte.
drupal_language_initialize function includes/bootstrap.inc Initializes all the defined language types.
drupal_language_types function includes/bootstrap.inc Returns a list of the built-in language types.
drupal_load function includes/bootstrap.inc Includes a file with the provided type and name.
drupal_load_stylesheet function includes/common.inc Loads the stylesheet and resolves all @import commands.
drupal_load_stylesheet_content function includes/common.inc Processes the contents of a stylesheet for aggregation.
drupal_load_updates function includes/install.inc Loads .install files for installed modules to initialize the update system.
drupal_lookup_path function includes/path.inc Given an alias, return its Drupal system URL if one exists. Given a Drupal
system URL return one of its aliases if such a one exists. Otherwise,
return FALSE.
drupal_mail function includes/mail.inc Composes and optionally sends an e-mail message.
drupal_mail_format_display_name function includes/mail.inc Return a RFC-2822 compliant "display-name" component.
drupal_mail_system function includes/mail.inc Returns an object that implements the MailSystemInterface interface.
drupal_maintenance_theme function includes/bootstrap.inc Enables use of the theme system without requiring database access.
drupal_map_assoc function includes/common.inc Forms an associative array from a linear array.

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