Functions

Primary tabs

Name Location Description Direct uses Stringssort descending
drupal_process_attached drupal/core/includes/common.inc Adds attachments to a render() structure. 4
drupal_process_states drupal/core/includes/common.inc Adds JavaScript to change the state of an element based on another element. 1
drupal_add_tabledrag drupal/core/includes/common.inc Assists in adding the tableDrag JavaScript behavior to a themed table. 9
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. 2
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. 25
drupal_get_private_key drupal/core/includes/common.inc Ensures the private key variable used to generate tokens is set. 4
drupal_get_token drupal/core/includes/common.inc Generates a token based on $value, the user session, and the private key. 13
drupal_valid_token drupal/core/includes/common.inc Validates a token based on $value, the user session, and the private key. 12
_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. 8
drupal_set_page_content drupal/core/includes/common.inc Sets the main page content value for later use. 6
drupal_render_page drupal/core/includes/common.inc Renders the page, including all theming. 7
drupal_render_children drupal/core/includes/common.inc Renders children of an element and concatenates them. 25
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. 2
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_info_property drupal/core/includes/common.inc Retrieves a single property for the defined element type. 3
element_properties drupal/core/includes/common.inc Gets properties of a structured array element (keys beginning with '#'). 1
element_child drupal/core/includes/common.inc Checks if the key is a child. 1
element_children drupal/core/includes/common.inc Identifies the children of an element array, optionally sorted by weight. 81
element_get_visible_children drupal/core/includes/common.inc Returns the visible children of an element. 3
element_set_attributes drupal/core/includes/common.inc Sets HTML attributes based on element properties. 22
drupal_parse_info_file drupal/core/includes/common.inc Parses Drupal module and theme .info.yml files. 9
watchdog_severity_levels drupal/core/includes/common.inc Returns a list of severity levels, as defined in RFC 3164. 2
drupal_explode_tags Deprecated drupal/core/includes/common.inc Explodes a string of tags into an array. 14
drupal_implode_tags Deprecated drupal/core/includes/common.inc Implodes an array of tags into a string. 6
drupal_flush_all_caches drupal/core/includes/common.inc Flushes all persistent caches, resets all variables, and rebuilds all data structures. 8
_drupal_flush_css_js drupal/core/includes/common.inc Changes the dummy query string added to all CSS and JavaScript files. 2
drupal_check_incompatibility drupal/core/includes/common.inc Checks whether a version is compatible with a given dependency. 2
archiver_get_extensions drupal/core/includes/common.inc Returns a string of supported archive extensions. 3
archiver_get_archiver drupal/core/includes/common.inc Creates the appropriate archiver for the specified file. 1
drupal_get_updaters drupal/core/includes/common.inc Assembles the Drupal Updater registry. 3
drupal_get_filetransfer_info drupal/core/includes/common.inc Assembles the Drupal FileTransfer registry. 2
menu_get_ancestors drupal/core/includes/menu.inc Returns the ancestors (and relevant placeholders) for any given path. 2
menu_unserialize drupal/core/includes/menu.inc Unserializes menu data, using a map to replace path elements. 3
menu_set_item drupal/core/includes/menu.inc Replaces the statically cached item for a given path. 1
menu_get_item drupal/core/includes/menu.inc Gets a router item. 28
_menu_load_objects drupal/core/includes/menu.inc Loads objects into the map as defined in the $item['load_functions']. 2
_menu_check_access drupal/core/includes/menu.inc Checks access to a menu item using the access callback. 2
_menu_item_localize drupal/core/includes/menu.inc Localizes the router item title using t() or another callback. 2
_menu_translate drupal/core/includes/menu.inc Handles dynamic path translation and menu access control. 4
_menu_link_map_translate drupal/core/includes/menu.inc Translates the path elements in the map using any to_arg helper function. 2
menu_tail_to_arg drupal/core/includes/menu.inc Returns a string containing the path relative to the current index.

Pages

Other projects