Functions

Primary tabs

Name Locationsort descending Description Direct uses Strings
drupal_html_id drupal/core/includes/common.inc Prepares a string for use as a valid HTML ID and guarantees uniqueness. 17 2
drupal_region_class drupal/core/includes/common.inc Provides a standard HTML class name that identifies a page region. 2
drupal_add_js drupal/core/includes/common.inc Adds a JavaScript file, setting, or inline code to the page. 49 10
drupal_js_defaults drupal/core/includes/common.inc Constructs an array of the defaults that are used for JavaScript items. 3
drupal_get_js drupal/core/includes/common.inc Returns a themed presentation of all JavaScript code for the current page. 23
drupal_pre_render_scripts drupal/core/includes/common.inc #pre_render callback to add the elements needed for JavaScript tags to be rendered. 1
drupal_group_js drupal/core/includes/common.inc Default callback to group JavaScript items. 1
drupal_aggregate_js drupal/core/includes/common.inc Default callback to aggregate JavaScript files. 1
drupal_process_attached drupal/core/includes/common.inc Adds attachments to a render() structure. 3
drupal_process_states drupal/core/includes/common.inc Adds JavaScript to change the state of an element based on another element. 1
drupal_add_library drupal/core/includes/common.inc Adds multiple JavaScript or CSS files at the same time. 35 2
drupal_get_library drupal/core/includes/common.inc Retrieves information for a JavaScript/CSS library. 5 1
drupal_add_tabledrag drupal/core/includes/common.inc Assists in adding the tableDrag JavaScript behavior to a themed table. 18
drupal_build_js_cache drupal/core/includes/common.inc Aggregates JavaScript files into a cache file in the files directory. 3
drupal_clear_js_cache drupal/core/includes/common.inc Deletes old cached JavaScript files and variables. 1 1
drupal_json_encode drupal/core/includes/common.inc Converts a PHP variable into its JavaScript equivalent. 8
drupal_json_decode drupal/core/includes/common.inc Converts an HTML-safe JSON string into its PHP equivalent. 14
drupal_get_private_key drupal/core/includes/common.inc Ensures the private key variable used to generate tokens is set. 3
drupal_get_token drupal/core/includes/common.inc Generates a token based on $value, the user session, and the private key. 12
drupal_valid_token drupal/core/includes/common.inc Validates a token based on $value, the user session, and the private key. 11
_drupal_bootstrap_code drupal/core/includes/common.inc Loads code for subsystems and modules, and registers stream wrappers. 1
_drupal_bootstrap_full drupal/core/includes/common.inc Temporary BC function for scripts not using DrupalKernel. 2
drupal_page_set_cache drupal/core/includes/common.inc Stores the current page in the cache. 1
drupal_cron_run drupal/core/includes/common.inc Executes a cron run when called. 9
drupal_cron_cleanup drupal/core/includes/common.inc Shutdown function: Performs cron cleanup. 1
drupal_system_listing drupal/core/includes/common.inc This function is kept only for backward compatibility. 10 1
drupal_set_page_content drupal/core/includes/common.inc Sets the main page content value for later use. 6
drupal_pre_render_conditional_comments drupal/core/includes/common.inc Pre-render callback: Renders #browsers into #prefix and #suffix. 1
drupal_pre_render_link drupal/core/includes/common.inc Pre-render callback: Renders a link into #markup. 1
drupal_pre_render_links drupal/core/includes/common.inc Pre-render callback: Collects child links into a single array. 3
drupal_pre_render_dropbutton drupal/core/includes/common.inc Pre-render callback: Attaches the dropbutton library and required markup. 1
drupal_render_page drupal/core/includes/common.inc Renders the page, including all theming. 6
drupal_render drupal/core/includes/common.inc Renders HTML given a structured array tree. 123 1
drupal_render_children drupal/core/includes/common.inc Renders children of an element and concatenates them. 42
render drupal/core/includes/common.inc Renders an element. 25 2
hide drupal/core/includes/common.inc Hides an element from later rendering. 9 1
show drupal/core/includes/common.inc Shows a hidden element for later rendering. 2 4
drupal_render_cache_get drupal/core/includes/common.inc Gets the rendered output of a renderable element from the cache. 2
drupal_render_cache_set drupal/core/includes/common.inc Caches the rendered output of a renderable element. 1
drupal_render_collect_attached drupal/core/includes/common.inc Collects #attached for an element and its children into a single array. 2
drupal_render_cache_by_query drupal/core/includes/common.inc Prepares an element for caching based on a query. 1
drupal_render_cid_parts drupal/core/includes/common.inc Returns cache ID parts for building a cache ID. 2
drupal_render_cid_create drupal/core/includes/common.inc Creates the cache ID for a renderable element. 2
element_sort drupal/core/includes/common.inc Sorts a structured array by '#weight' property. 1
element_sort_by_title drupal/core/includes/common.inc Sorts a structured array by '#title' property. 2
element_info drupal/core/includes/common.inc Retrieves the default properties for the defined element type. 12
element_info_property drupal/core/includes/common.inc Retrieves a single property for the defined element type. 4
drupal_sort_weight drupal/core/includes/common.inc Sorts a structured array by the 'weight' element. 13
drupal_sort_title drupal/core/includes/common.inc Sorts a structured array by 'title' key (no # prefix). 1
element_property drupal/core/includes/common.inc Checks if the key is a property. 1

Pages

Other projects