Functions - 7.x - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| drupal_pre_render_markup | includes/ |
#pre_render callback to append contents in #markup to #children. | 1 | ||
| drupal_pre_render_scripts | includes/ |
The #pre_render callback for the "scripts" element. | 1 | ||
| drupal_pre_render_styles | includes/ |
#pre_render callback to add the elements needed for CSS tags to be rendered. | 1 | ||
| drupal_process_attached | includes/ |
Adds attachments to a render() structure. | 3 | ||
| drupal_process_form | includes/ |
Processes a form submission. | 8 | ||
| drupal_process_states | includes/ |
Adds JavaScript to change the state of an element based on another element. | 1 | ||
| drupal_random_bytes | includes/ |
Returns a string of highly randomized bytes (over the full 8-bit range). | 9 | ||
| drupal_random_key | includes/ |
Returns a URL-safe, base64 encoded string of highly randomized bytes (over the full 8-bit range). | 13 | ||
| drupal_realpath | includes/ |
Resolves the absolute filepath of a local URI or filepath. | 52 | ||
| drupal_rebuild_form | includes/ |
Constructs a new $form from the information in $form_state. | 2 | ||
| drupal_redirect_form | includes/ |
Redirects the user to a URL after a form has been processed. | 2 | ||
| drupal_region_class | includes/ |
Provides a standard HTML class name that identifies a page region. | 2 | ||
| drupal_register_shutdown_function | includes/ |
Registers a function for execution on shutdown. | 13 | ||
| drupal_render | includes/ |
Renders HTML given a structured array tree. | 93 | 1 | |
| drupal_render_cache_by_query | includes/ |
Prepares an element for caching based on a query. | 1 | ||
| drupal_render_cache_get | includes/ |
Gets the rendered output of a renderable element from the cache. | 2 | ||
| drupal_render_cache_set | includes/ |
Caches the rendered output of a renderable element. | 1 | ||
| drupal_render_children | includes/ |
Renders children of an element and concatenates them. | 31 | ||
| drupal_render_cid_create | includes/ |
Creates the cache ID for a renderable element. | 2 | ||
| drupal_render_cid_parts | includes/ |
Returns cache ID parts for building a cache ID. | 3 | ||
| drupal_render_collect_attached | includes/ |
Collects #attached for an element and its children into a single array. | 1 | ||
| drupal_render_page | includes/ |
Renders the page, including all theming. | 2 | ||
| drupal_required_modules | includes/ |
Returns an array of modules required by core. | 1 | ||
| drupal_requirements_severity | includes/ |
Extracts the highest severity from the requirements array. | 4 | ||
| drupal_requirements_url | includes/ |
Returns a URL for proceeding to the next page after a requirements problem. | 2 | ||
| drupal_retrieve_form | includes/ |
Retrieves the structured array that defines a given form. | 3 | ||
| drupal_rewrite_settings | includes/ |
Replaces values in settings.php with values in the submitted array. | 1 | ||
| drupal_rmdir | includes/ |
Removes a directory. | 6 | ||
| drupal_save_session | includes/ |
Determines whether to save session data of the current request. | 17 | ||
| drupal_schema_fields_sql | includes/ |
Retrieves a list of fields from a table schema. | 1 | ||
| drupal_schema_field_types | includes/ |
Retrieves the type for every field in a table schema. | 1 | ||
| drupal_send_headers | includes/ |
Sends the HTTP response headers that were previously set, adding defaults. | 4 | ||
| drupal_serve_page_from_cache | includes/ |
Sets HTTP headers in preparation for a cached page response. | 2 | ||
| drupal_session_commit | includes/ |
Commits the current session, if necessary. | 4 | 1 | |
| drupal_session_destroy_uid | includes/ |
Ends a specific user's session(s). | 2 | ||
| drupal_session_id | includes/ |
Session ids are hashed by default before being stored in the database. | 3 | ||
| drupal_session_initialize | includes/ |
Initializes the session handler, starting a session if needed. | 1 | ||
| drupal_session_regenerate | includes/ |
Called when an anonymous user becomes authenticated or vice-versa. | 3 | ||
| drupal_session_start | includes/ |
Starts a session forcefully, preserving already set session data. | 5 | ||
| drupal_session_started | includes/ |
Returns whether a session has been started. | 4 | ||
| drupal_setcookie | includes/ |
Drupal's wrapper around PHP's setcookie() function. | 4 | ||
| drupal_settings_initialize | includes/ |
Sets the base URL, cookie domain, and session name from configuration. | 2 | ||
| drupal_set_breadcrumb | includes/ |
Sets the breadcrumb trail for the current page. | 8 | ||
| drupal_set_installed_schema_version | includes/ |
Update the installed version information for a module. | 7 | ||
| drupal_set_message | includes/ |
Sets a message to display to the user. | 269 | ||
| drupal_set_page_content | includes/ |
Sets the main page content value for later use. | 5 | ||
| drupal_set_time_limit | includes/ |
Attempts to set the PHP maximum execution time. | 5 | ||
| drupal_set_title | includes/ |
Sets the title of the current page. | 67 | ||
| drupal_site_offline | includes/ |
Delivers a "site is under maintenance" message to the browser. | 1 | ||
| drupal_sort_css_js | includes/ |
Sorts CSS and JavaScript resources. | 2 |
Pagination
- Previous page
- Page 17
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.