Functions - 7.x - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| drupal_anonymous_user | includes/ |
Generates a default anonymous $user object. | 14 | ||
| drupal_array_diff_assoc_recursive | includes/ |
Recursively computes the difference of arrays with additional index check. | 1 | ||
| drupal_array_get_nested_value | includes/ |
Retrieves a value from a nested array with variable depth. | 16 | ||
| drupal_array_merge_deep | includes/ |
Merges multiple arrays, recursively, and returns the merged array. | 4 | ||
| drupal_array_merge_deep_array | includes/ |
Merges multiple arrays, recursively, and returns the merged array. | 4 | ||
| drupal_array_nested_key_exists | includes/ |
Determines whether a nested array contains the requested keys. | 2 | ||
| drupal_array_set_nested_value | includes/ |
Sets a value in a nested array with variable depth. | 7 | ||
| drupal_attributes | includes/ |
Converts an associative array to an XML/HTML tag attribute string. | 41 | ||
| drupal_autoload_class | includes/ |
Confirms that a class is available. | 1 | 2 | |
| drupal_autoload_interface | includes/ |
Confirms that an interface is available. | 1 | 2 | |
| drupal_autoload_test_registry_files_alter | modules/ |
Implements hook_registry_files_alter(). | |||
| drupal_autoload_trait | includes/ |
Confirms that a trait is available. | 1 | 1 | |
| drupal_base64_encode | includes/ |
Returns a URL-safe, base64 encoded version of the supplied string. | 1 | ||
| drupal_basename | includes/ |
Gets the filename from a given path. | 32 | ||
| drupal_block_denied | includes/ |
Handles denied users. | 1 | ||
| drupal_bootstrap | includes/ |
Ensures Drupal is bootstrapped to the specified phase. | 16 | ||
| drupal_build_css_cache | includes/ |
Aggregates and optimizes CSS files into a cache file in the files directory. | 1 | ||
| drupal_build_form | includes/ |
Builds and process a form based on a form id. | 3 | ||
| drupal_build_js_cache | includes/ |
Aggregates JavaScript files into a cache file in the files directory. | 2 | ||
| drupal_cache_system_paths | includes/ |
Cache system paths for a page. | 1 | ||
| drupal_check_incompatibility | includes/ |
Checks whether a version is compatible with a given dependency. | 2 | ||
| drupal_check_memory_limit | includes/ |
Compares the memory required for an operation to the available memory. | 4 | ||
| drupal_check_module | includes/ |
Checks a module's requirements. | 1 | ||
| drupal_check_profile | includes/ |
Checks an installation profile's requirements. | 1 | ||
| drupal_check_trusted_hosts | includes/ |
Checks trusted HTTP Host headers to protect against header injection attacks. | 2 | ||
| drupal_chmod | includes/ |
Sets the permissions on a file or directory. | 9 | ||
| drupal_clean_css_identifier | includes/ |
Prepares a string for use as a CSS identifier (element, class, or ID name). | 2 | ||
| drupal_clear_css_cache | includes/ |
Deletes old cached CSS files. | 3 | 1 | |
| drupal_clear_js_cache | includes/ |
Deletes old cached JavaScript files and variables. | 1 | 1 | |
| drupal_clear_opcode_cache | includes/ |
Invalidates a PHP file from any active opcode caches. | 1 | ||
| drupal_clear_path_cache | includes/ |
Clear the path cache. | 3 | ||
| drupal_common_theme | includes/ |
Provides theme registration for themes across .inc files. | 1 | ||
| drupal_convert_to_utf8 | includes/ |
Converts data to UTF-8. | 2 | ||
| drupal_cron_cleanup | includes/ |
DEPRECATED: Shutdown function: Performs cron cleanup. | |||
| drupal_cron_run | includes/ |
Executes a cron run when called. | 8 | ||
| drupal_current_script_url | includes/ |
Returns the URL of the current script, with modified query parameters. | 2 | ||
| drupal_delete_file_if_stale | includes/ |
Callback to delete files modified more than a set time ago. | 2 | ||
| drupal_deliver_html_page | includes/ |
Packages and sends the result of a page callback to the browser as HTML. | 2 | ||
| drupal_deliver_page | includes/ |
Delivers a page callback result to the browser in the appropriate format. | 4 | ||
| drupal_depth_first_search | includes/ |
Performs a depth-first search and sort on a directed acyclic graph. | 3 | ||
| drupal_detect_baseurl | includes/ |
Detects the base URL using the PHP $_SERVER variables. | |||
| drupal_detect_database_types | includes/ |
Detects all supported databases that are compiled into PHP. | 1 | ||
| drupal_dirname | includes/ |
Gets the name of the directory from a given path. | 5 | ||
| drupal_encode_path | includes/ |
Encodes a Drupal path for use in a URL. | 3 | ||
| drupal_environment_initialize | includes/ |
Initializes the PHP environment. | 1 | ||
| drupal_error_levels | includes/ |
Maps PHP error constants to watchdog severity levels. | 1 | ||
| drupal_exit | includes/ |
Performs end-of-request tasks. | 23 | ||
| drupal_explode_tags | includes/ |
Explodes a string of tags into an array. | 6 | ||
| drupal_fast_404 | includes/ |
Returns a simple 404 Not Found page. | 1 | ||
| drupal_file_scan_write_cache | includes/ |
Writes the file scan cache to the persistent cache. | 2 |
Pagination
- Previous page
- Page 14
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.