Functions - 7.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
drupal_get_http_header | includes/ |
Gets the HTTP response headers for the current page. | 5 | ||
drupal_get_installed_schema_version | includes/ |
Returns the currently installed schema version for a module. | 16 | ||
drupal_get_js | includes/ |
Returns a themed presentation of all JavaScript code for the current page. | 18 | ||
drupal_get_library | includes/ |
Retrieves information for a JavaScript/CSS library. | 5 | 2 | |
drupal_get_messages | includes/ |
Returns all messages that have been set with drupal_set_message(). | 6 | ||
drupal_get_normal_path | includes/ |
Given a path alias, return the internal path it represents. | 12 | ||
drupal_get_path | includes/ |
Returns the path to a system item (module, theme, etc.). | 173 | 1 | |
drupal_get_path_alias | includes/ |
Given an internal Drupal path, return the alias set by the administrator. | 6 | ||
drupal_get_private_key | includes/ |
Ensures the private key variable used to generate tokens is set. | 6 | ||
drupal_get_profile | includes/ |
Gets the name of the currently active installation profile. | 15 | ||
drupal_get_query_array | includes/ |
Splits a URL-encoded query string into an array. | 4 | ||
drupal_get_query_parameters | includes/ |
Processes a URL query parameter array to remove unwanted elements. | 11 | ||
drupal_get_rdf_namespaces | includes/ |
Returns a string containing RDF namespace declarations for use in XML and XHTML output. | 1 | ||
drupal_get_region_content | includes/ |
Gets assigned content for a given region. | 3 | ||
drupal_get_schema | includes/ |
Gets the schema definition of a table, or the whole database schema. | 28 | ||
drupal_get_schema_unprocessed | includes/ |
Returns the unprocessed and unaltered version of a module's schema. | 11 | ||
drupal_get_schema_versions | includes/ |
Returns an array of available schema versions for a module. | 7 | 1 | |
drupal_get_title | includes/ |
Gets the title of the current page. | 8 | ||
drupal_get_token | includes/ |
Generates a token based on $value, the user session, and the private key. | 17 | ||
drupal_get_updaters | includes/ |
Assembles the Drupal Updater registry. | 3 | ||
drupal_get_user_timezone | includes/ |
Returns the time zone of the current user. | 4 | ||
drupal_goto | includes/ |
Sends the user to a different page. | 45 | 4 | |
drupal_group_css | includes/ |
Default callback to group CSS items. | 1 | ||
drupal_hash_base64 | includes/ |
Calculates a base-64 encoded, URL-safe sha-256 hash. | 32 | ||
drupal_help_arg | includes/ |
Generates elements for the $arg array in the help hook. | 5 | ||
drupal_hmac_base64 | includes/ |
Calculates a base-64 encoded, URL-safe sha-256 hmac. | 9 | ||
drupal_html_class | includes/ |
Prepares a string for use as a valid class name. | 12 | ||
drupal_html_id | includes/ |
Prepares a string for use as a valid HTML ID and guarantees uniqueness. | 15 | 2 | |
drupal_html_to_text | includes/ |
Transforms an HTML string into plain text, preserving its structure. | 7 | ||
drupal_http_build_query | includes/ |
Parses an array into a valid, rawurlencoded query string. | 11 | ||
drupal_http_header_attributes | includes/ |
Formats an attribute string for an HTTP header. | 1 | ||
drupal_http_request | includes/ |
Performs an HTTP request. | 16 | ||
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. | 9 | ||
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. | 21 | 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 |
Pagination
- Previous page
- Page 15
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.