Functions - 7.x - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| drupal_implode_tags | includes/ |
Implodes an array of tags into a string. | 5 | ||
| drupal_installation_attempted | includes/ |
Returns TRUE if a Drupal installation is currently being attempted. | 6 | ||
| drupal_install_fix_file | includes/ |
Attempts to fix file permissions. | 1 | ||
| drupal_install_mkdir | includes/ |
Creates a directory with the specified permissions. | 1 | ||
| drupal_install_profile_distribution_name | includes/ |
Loads the installation profile, extracting its defined distribution name. | 8 | ||
| drupal_install_schema | includes/ |
Creates all tables defined in a module's hook_schema(). | 2 | ||
| drupal_install_system | includes/ |
Installs the system module. | 2 | ||
| drupal_is_cli | includes/ |
Detects whether the current script is running in a command-line environment. | 4 | ||
| drupal_is_denied | includes/ |
Checks to see if an IP address has been blocked. | 1 | ||
| drupal_is_front_page | includes/ |
Check if the current page is the front page. | 10 | ||
| drupal_is_https | includes/ |
Checks whether an HTTPS request is being served. | 1 | ||
| drupal_json_decode | includes/ |
Converts an HTML-safe JSON string into its PHP equivalent. | 10 | ||
| drupal_json_encode | includes/ |
Converts a PHP variable into its JavaScript equivalent. | 5 | ||
| drupal_json_encode_helper | includes/ |
Encodes a PHP variable to HTML-safe JSON for PHP versions below 5.3.0. | 1 | ||
| drupal_json_output | includes/ |
Returns data in JSON format. | 22 | 1 | |
| drupal_js_defaults | includes/ |
Constructs an array of the defaults that are used for JavaScript items. | 3 | ||
| drupal_language_initialize | includes/ |
Initializes all the defined language types. | 7 | ||
| drupal_language_types | includes/ |
Returns a list of the built-in language types. | 5 | ||
| drupal_load | includes/ |
Includes a file with the provided type and name. | 17 | ||
| drupal_load_stylesheet | includes/ |
Loads the stylesheet and resolves all @import commands. | 4 | ||
| drupal_load_stylesheet_content | includes/ |
Processes the contents of a stylesheet for aggregation. | 4 | ||
| drupal_load_updates | includes/ |
Loads .install files for installed modules to initialize the update system. | 3 | ||
| drupal_lookup_path | includes/ |
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/ |
Composes and optionally sends an e-mail message. | 10 | ||
| drupal_mail_format_display_name | includes/ |
Return a RFC-2822 compliant "display-name" component. | 1 | ||
| drupal_mail_system | includes/ |
Returns an object that implements the MailSystemInterface interface. | 1 | ||
| drupal_maintenance_theme | includes/ |
Enables use of the theme system without requiring database access. | 5 | ||
| drupal_map_assoc | includes/ |
Forms an associative array from a linear array. | 38 | ||
| drupal_match_path | includes/ |
Check if a path matches any pattern in a set of patterns. | 3 | ||
| drupal_mkdir | includes/ |
Creates a directory, optionally creating missing components in the path to the directory. | 8 | ||
| drupal_move_uploaded_file | includes/ |
Moves an uploaded file to a new location. | 1 | ||
| drupal_multilingual | includes/ |
Returns TRUE if there is more than one language enabled. | 8 | ||
| drupal_not_found | includes/ |
Delivers a "page not found" error to the browser. | 11 | ||
| drupal_override_server_variables | includes/ |
Sets appropriate server variables needed for command line scripts to work. | 2 | ||
| drupal_page_footer | includes/ |
Performs end-of-request tasks. | 1 | ||
| drupal_page_get_cache | includes/ |
Retrieves the current page from the cache. | 1 | ||
| drupal_page_header | includes/ |
Sets HTTP headers in preparation for a page response. | 2 | ||
| drupal_page_is_cacheable | includes/ |
Determines the cacheability of the current page. | 5 | ||
| drupal_page_set_cache | includes/ |
Stores the current page in the cache. | 1 | ||
| drupal_parse_dependency | includes/ |
Parses a dependency for comparison by drupal_check_incompatibility(). | 1 | ||
| drupal_parse_info_file | includes/ |
Parses Drupal module and theme .info files. | 10 | ||
| drupal_parse_info_format | includes/ |
Parses data in Drupal's .info format. | 2 | ||
| drupal_parse_url | includes/ |
Parses a URL string into its path, query, and fragment components. | 7 | ||
| drupal_path_alias_whitelist_rebuild | includes/ |
Rebuild the path alias white list. | 3 | ||
| drupal_path_initialize | includes/ |
Initialize the $_GET['q'] variable to the proper normal path. | 1 | ||
| drupal_placeholder | includes/ |
Formats text for emphasized display in a placeholder inside a sentence. | 6 | ||
| drupal_prepare_form | includes/ |
Prepares a structured form array. | 8 | ||
| drupal_pre_render_conditional_comments | includes/ |
#pre_render callback to render #browsers into #prefix and #suffix. | 1 | ||
| drupal_pre_render_link | includes/ |
#pre_render callback to render a link into #markup. | 1 | ||
| drupal_pre_render_links | includes/ |
#pre_render callback that collects child links into a single array. | 3 |
Pagination
- Previous page
- Page 16
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.