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 bootstrap.inc.

File

core/includes/common.inc

Functions

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.