Functions - 7.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
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. | 268 | ||
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. | 66 | ||
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 | ||
drupal_sort_title | includes/ |
Array sorting callback; sorts elements by 'title' key. | 1 | ||
drupal_sort_weight | includes/ |
Sorts a structured array by the 'weight' element. | 8 | ||
drupal_static | includes/ |
Provides central static variable storage. | 186 | ||
drupal_static_reset | includes/ |
Resets one or all centrally stored static variable(s). | 112 | ||
drupal_strip_dangerous_protocols | includes/ |
Strips dangerous protocols (e.g. 'javascript:') from a URI. | 8 | ||
drupal_strlen | includes/ |
Counts the number of characters in a UTF-8 string. | 21 | ||
drupal_strtolower | includes/ |
Lowercase a UTF-8 string. | 49 | ||
drupal_strtoupper | includes/ |
Uppercase a UTF-8 string. | 5 | 1 | |
drupal_substr | includes/ |
Cuts off a piece of a string based on character indices and counts. | 12 | 1 | |
drupal_system_listing | includes/ |
Returns information about system object files (modules, themes, etc.). | 7 | 1 | |
drupal_tempnam | includes/ |
Creates a file with a unique filename in the specified directory. | 6 | ||
drupal_theme_access | includes/ |
Determines if a theme is available to use. | 6 | 1 | |
drupal_theme_initialize | includes/ |
Initializes the theme system by loading the theme. | 15 | ||
drupal_theme_rebuild | includes/ |
Forces the system to rebuild the theme registry. | 8 | ||
drupal_trigger_fatal_error | includes/ |
Invoke trigger_error() using a fatal error that will terminate the request. | 3 | 2 | |
drupal_truncate_bytes | includes/ |
Truncates a UTF-8-encoded string safely to a number of bytes. | 1 | ||
drupal_ucfirst | includes/ |
Capitalizes the first letter of a UTF-8 string. | 6 | ||
drupal_uninstall_modules | includes/ |
Uninstalls a given list of disabled modules. | 5 |
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.