Common functions that many Backdrop modules will need to reference.

The functions that are critical and need to be available even when serving a cached page are instead located in




Namesort descending Description
archiver_get_archiver Creates the appropriate archiver for the specified file.
archiver_get_extensions Returns a string of supported archive extensions.
archiver_get_info Retrieves a list of all available archivers.
backdrop_access_denied Delivers an "access denied" error to the browser.
backdrop_add_css Adds a cascading stylesheet to the stylesheet queue.
backdrop_add_feed Adds a feed URL for the current page.
backdrop_add_html_head Adds output to the HEAD tag of the HTML page.
backdrop_add_html_head_link Adds a LINK tag with a distinct 'rel' attribute to the page's HEAD.
backdrop_add_js Adds a JavaScript file, setting, or inline code to the page.
backdrop_add_library Adds multiple JavaScript or CSS files at the same time.
backdrop_add_tabledrag Assists in adding the tableDrag JavaScript behavior to a themed table.
backdrop_aggregate_css Aggregation callback: Aggregates CSS files and inline content.
backdrop_aggregate_js Default callback to aggregate JavaScript files.
backdrop_array_diff_assoc_recursive Recursively computes the difference of arrays with additional index check.
backdrop_array_get_nested_value Retrieves a value from a nested array with variable depth.
backdrop_array_nested_key_exists Determines whether a nested array contains the requested keys.
backdrop_array_set_nested_value Sets a value in a nested array with variable depth.
backdrop_array_unset_nested_value Unsets a value in a nested array with variable depth.
backdrop_attributes Converts an associative array to an XML/HTML tag attribute string.
backdrop_build_css_cache Aggregates and optimizes CSS files into a cache file in the files directory.
backdrop_build_js_cache Aggregates JavaScript files into a cache file in the files directory.
backdrop_check_incompatibility Checks whether a version is compatible with a given dependency.
backdrop_clean_css_identifier Prepares a string for use as a CSS identifier (element, class, or ID name).
backdrop_clear_css_cache Deletes old cached CSS files.
backdrop_clear_js_cache Deletes old cached JavaScript files and variables.
backdrop_common_theme Provides theme registration for themes across .inc files.
backdrop_cron_run Executes a cron run when called.
backdrop_delete_file_if_stale Deletes files modified more than a set time ago.
backdrop_deliver_html_page Packages and sends the result of a page callback to the browser as HTML.