Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
drupal_find_base_themes includes/theme.inc Find all the base themes for the specified theme. 3
drupal_find_theme_functions includes/theme.inc Allows themes and/or theme engines to discover overridden theme functions. 2
drupal_find_theme_templates includes/theme.inc Allows themes and/or theme engines to easily discover overridden templates. 3
drupal_flush_all_caches includes/common.inc Flushes all cached data on the site. 14
drupal_form_submit includes/form.inc Retrieves, populates, and processes a form. 6
drupal_generate_test_ua includes/bootstrap.inc Generates a user agent string with a HMAC and timestamp for simpletest. 3
drupal_get_bootstrap_phase includes/bootstrap.inc Returns the current bootstrap phase for this Drupal process. 5
drupal_get_breadcrumb includes/common.inc Gets the breadcrumb trail for the current page. 1
drupal_get_complete_schema includes/bootstrap.inc Gets the whole database schema. 2
drupal_get_css includes/common.inc Returns a themed representation of all stylesheets to attach to the page. 14
drupal_get_database_types includes/install.inc Returns all supported database installer objects that are compiled into PHP. 3
drupal_get_destination includes/common.inc Prepares a 'destination' URL query parameter for use with drupal_goto(). 29
drupal_get_feeds includes/common.inc Gets the feed URLs for the current page. 1
drupal_get_filename includes/bootstrap.inc Returns and optionally sets the filename for a system resource. 12 1
drupal_get_filetransfer_info includes/common.inc Assembles the Drupal FileTransfer registry. 2
drupal_get_form includes/form.inc Returns a renderable form array for a given form ID. 50 32
drupal_get_hash_salt includes/bootstrap.inc Gets a salt useful for hardening against SQL injection. 8
drupal_get_html_head includes/common.inc Retrieves output to be displayed in the HEAD tag of the HTML page. 4
drupal_get_http_header includes/bootstrap.inc Gets the HTTP response headers for the current page. 5
drupal_get_installed_schema_version includes/install.inc Returns the currently installed schema version for a module. 16
drupal_get_js includes/common.inc Returns a themed presentation of all JavaScript code for the current page. 18
drupal_get_library includes/common.inc Retrieves information for a JavaScript/CSS library. 5 2
drupal_get_messages includes/bootstrap.inc Returns all messages that have been set with drupal_set_message(). 7
drupal_get_normal_path includes/path.inc Given a path alias, return the internal path it represents. 12
drupal_get_path includes/common.inc Returns the path to a system item (module, theme, etc.). 178 1
drupal_get_path_alias includes/path.inc Given an internal Drupal path, return the alias set by the administrator. 6
drupal_get_private_key includes/common.inc Ensures the private key variable used to generate tokens is set. 6
drupal_get_profile includes/common.inc Gets the name of the currently active installation profile. 15
drupal_get_query_array includes/common.inc Splits a URL-encoded query string into an array. 4
drupal_get_query_parameters includes/common.inc Processes a URL query parameter array to remove unwanted elements. 11
drupal_get_rdf_namespaces includes/common.inc Returns a string containing RDF namespace declarations for use in XML and XHTML output. 1
drupal_get_region_content includes/common.inc Gets assigned content for a given region. 3
drupal_get_schema includes/bootstrap.inc Gets the schema definition of a table, or the whole database schema. 29
drupal_get_schema_unprocessed includes/common.inc Returns the unprocessed and unaltered version of a module's schema. 11
drupal_get_schema_versions includes/install.inc Returns an array of available schema versions for a module. 6 1
drupal_get_title includes/bootstrap.inc Gets the title of the current page. 8
drupal_get_token includes/common.inc Generates a token based on $value, the user session, and the private key. 17
drupal_get_updaters includes/common.inc Assembles the Drupal Updater registry. 3
drupal_get_user_timezone includes/bootstrap.inc Returns the time zone of the current user. 4
drupal_goto includes/common.inc Sends the user to a different page. 45 4
drupal_group_css includes/common.inc Default callback to group CSS items. 1
drupal_hash_base64 includes/bootstrap.inc Calculates a base-64 encoded, URL-safe sha-256 hash. 32
drupal_help_arg includes/menu.inc Generates elements for the $arg array in the help hook. 5
drupal_hmac_base64 includes/bootstrap.inc Calculates a base-64 encoded, URL-safe sha-256 hmac. 9
drupal_html_class includes/common.inc Prepares a string for use as a valid class name. 12
drupal_html_id includes/common.inc Prepares a string for use as a valid HTML ID and guarantees uniqueness. 15 2
drupal_html_to_text includes/mail.inc Transforms an HTML string into plain text, preserving its structure. 7
drupal_http_build_query includes/common.inc Parses an array into a valid, rawurlencoded query string. 11
drupal_http_header_attributes includes/common.inc Formats an attribute string for an HTTP header. 1
drupal_http_request includes/common.inc Performs an HTTP request. 17

Other projects


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