Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
drupal_load includes/bootstrap.inc Includes a file with the provided type and name. 17
drupal_load_stylesheet includes/common.inc Loads the stylesheet and resolves all @import commands. 4
drupal_load_stylesheet_content includes/common.inc Processes the contents of a stylesheet for aggregation. 4
drupal_load_updates includes/install.inc Loads .install files for installed modules to initialize the update system. 3
drupal_lookup_path 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. 5 3
drupal_mail includes/mail.inc Composes and optionally sends an e-mail message. 10
drupal_mail_format_display_name includes/mail.inc Return a RFC-2822 compliant "display-name" component. 1
drupal_mail_system includes/mail.inc Returns an object that implements the MailSystemInterface interface. 1
drupal_maintenance_theme includes/bootstrap.inc Enables use of the theme system without requiring database access. 5
drupal_map_assoc includes/common.inc Forms an associative array from a linear array. 38
drupal_match_path includes/path.inc Check if a path matches any pattern in a set of patterns. 3
drupal_mkdir includes/file.inc Creates a directory, optionally creating missing components in the path to the directory. 8
drupal_move_uploaded_file includes/file.inc Moves an uploaded file to a new location. 1
drupal_multilingual includes/bootstrap.inc Returns TRUE if there is more than one language enabled. 8
drupal_not_found includes/common.inc Delivers a "page not found" error to the browser. 10
drupal_override_server_variables includes/bootstrap.inc Sets appropriate server variables needed for command line scripts to work. 2
drupal_page_footer includes/common.inc Performs end-of-request tasks. 1
drupal_page_get_cache includes/bootstrap.inc Retrieves the current page from the cache. 1
drupal_page_header includes/bootstrap.inc Sets HTTP headers in preparation for a page response. 2
drupal_page_is_cacheable includes/bootstrap.inc Determines the cacheability of the current page. 5
drupal_page_set_cache includes/common.inc Stores the current page in the cache. 1
drupal_parse_dependency includes/common.inc Parses a dependency for comparison by drupal_check_incompatibility(). 1
drupal_parse_info_file includes/common.inc Parses Drupal module and theme .info files. 10
drupal_parse_info_format includes/common.inc Parses data in Drupal's .info format. 2
drupal_parse_url includes/common.inc Parses a URL string into its path, query, and fragment components. 7
drupal_path_alias_whitelist_rebuild includes/path.inc Rebuild the path alias white list. 3
drupal_path_initialize includes/path.inc Initialize the $_GET['q'] variable to the proper normal path. 1
drupal_placeholder includes/bootstrap.inc Formats text for emphasized display in a placeholder inside a sentence. 6
drupal_prepare_form includes/form.inc Prepares a structured form array. 7
drupal_pre_render_conditional_comments includes/common.inc #pre_render callback to render #browsers into #prefix and #suffix. 1
drupal_pre_render_link includes/common.inc #pre_render callback to render a link into #markup. 1
drupal_pre_render_links includes/common.inc #pre_render callback that collects child links into a single array. 3
drupal_pre_render_markup includes/common.inc #pre_render callback to append contents in #markup to #children. 1
drupal_pre_render_scripts includes/common.inc The #pre_render callback for the "scripts" element. 1
drupal_pre_render_styles includes/common.inc #pre_render callback to add the elements needed for CSS tags to be rendered. 1
drupal_process_attached includes/common.inc Adds attachments to a render() structure. 3
drupal_process_form includes/form.inc Processes a form submission. 7
drupal_process_states includes/common.inc Adds JavaScript to change the state of an element based on another element. 1
drupal_random_bytes includes/bootstrap.inc Returns a string of highly randomized bytes (over the full 8-bit range). 9
drupal_random_key includes/bootstrap.inc Returns a URL-safe, base64 encoded string of highly randomized bytes (over the full 8-bit range). 13
drupal_realpath includes/file.inc Resolves the absolute filepath of a local URI or filepath. 51
drupal_rebuild_form includes/form.inc Constructs a new $form from the information in $form_state. 2
drupal_redirect_form includes/form.inc Redirects the user to a URL after a form has been processed. 2
drupal_region_class includes/common.inc Provides a standard HTML class name that identifies a page region. 2
drupal_register_shutdown_function includes/bootstrap.inc Registers a function for execution on shutdown. 13
drupal_render includes/common.inc Renders HTML given a structured array tree. 93 1
drupal_render_cache_by_query includes/common.inc Prepares an element for caching based on a query. 1
drupal_render_cache_get includes/common.inc Gets the rendered output of a renderable element from the cache. 2
drupal_render_cache_set includes/common.inc Caches the rendered output of a renderable element. 1
drupal_render_children includes/common.inc Renders children of an element and concatenates them. 31

Other projects


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