These functions and classes are wrappers around Backdrop functions that allow for Drupal 7 modules to work with Backdrop. All of these functions are made available if the "backdrop_drupal_compatibility" option is enabled in your site's settings.php file.

File

core/includes/drupal.inc, line 7
Contains constants and function wrappers for Drupal 7.x compatibility.

Functions

Namesort descending Location Description
drupal_access_denied Deprecated core/includes/drupal.inc Delivers an "access denied" error to the browser.
drupal_add_css Deprecated core/includes/drupal.inc Adds a cascading stylesheet to the stylesheet queue.
drupal_add_feed Deprecated core/includes/drupal.inc Adds a feed URL for the current page.
drupal_add_html_head Deprecated core/includes/drupal.inc Adds output to the HEAD tag of the HTML page.
drupal_add_html_head_link Deprecated core/includes/drupal.inc Adds a LINK tag with a distinct 'rel' attribute to the page's HEAD.
drupal_add_http_header Deprecated core/includes/drupal.inc Sets an HTTP response header for the current page.
drupal_add_js Deprecated core/includes/drupal.inc Adds a JavaScript file, setting, or inline code to the page.
drupal_add_library Deprecated core/includes/drupal.inc Adds multiple JavaScript or CSS files at the same time.
drupal_add_tabledrag Deprecated core/includes/drupal.inc Assists in adding the tableDrag JavaScript behavior to a themed table.
drupal_aggregate_css Deprecated core/includes/drupal.inc Aggregation callback: Aggregates CSS files and inline content.
drupal_aggregate_js Deprecated core/includes/drupal.inc Default callback to aggregate JavaScript files.
drupal_alter Deprecated core/includes/drupal.inc Passes alterable variables to specific hook_TYPE_alter() implementations.
drupal_anonymous_user Deprecated core/includes/drupal.inc Generates a default anonymous $user object.
drupal_array_get_nested_value Deprecated core/includes/drupal.inc Retrieves a value from a nested array with variable depth.
drupal_array_merge_deep Deprecated core/includes/drupal.inc Merges multiple arrays, recursively, and returns the merged array.
drupal_array_merge_deep_array Deprecated core/includes/drupal.inc Merges multiple arrays, recursively, and returns the merged array.
drupal_array_nested_key_exists Deprecated core/includes/drupal.inc Determines whether a nested array contains the requested keys.
drupal_array_set_nested_value Deprecated core/includes/drupal.inc Sets a value in a nested array with variable depth.
drupal_array_unset_nested_value Deprecated core/includes/drupal.inc Unsets a value in a nested array with variable depth.
drupal_attributes Deprecated core/includes/drupal.inc Converts an associative array to an XML/HTML tag attribute string.
drupal_autoload_class Deprecated core/includes/drupal.inc Confirms that a class is available.
drupal_autoload_interface Deprecated core/includes/drupal.inc Confirms that a class is available.
drupal_base64_encode Deprecated core/includes/drupal.inc Returns a URL-safe, base64 encoded version of the supplied string.
drupal_basename Deprecated core/includes/drupal.inc Gets the filename from a given path.
drupal_bootstrap Deprecated core/includes/drupal.inc Ensures Backdrop is bootstrapped to the specified phase.
drupal_build_css_cache Deprecated core/includes/drupal.inc Aggregates and optimizes CSS files into a cache file in the files directory.
drupal_build_form Deprecated core/includes/drupal.inc Builds and processes a form for a given form ID.
drupal_build_js_cache Deprecated core/includes/drupal.inc Aggregates JavaScript files into a cache file in the files directory.
drupal_cache_system_paths Deprecated core/includes/drupal.inc Cache system paths for a page.
drupal_check_incompatibility Deprecated core/includes/drupal.inc Checks whether a version is compatible with a given dependency.
drupal_check_module Deprecated core/includes/drupal.inc Checks a module's requirements.
drupal_check_profile Deprecated core/includes/drupal.inc Checks an installation profile's requirements.
drupal_chmod Deprecated core/includes/drupal.inc Sets the permissions on a file or directory.
drupal_clean_css_identifier Deprecated core/includes/drupal.inc Prepares a string for use as a CSS identifier (element, class, or ID name).
drupal_clear_css_cache Deprecated core/includes/drupal.inc Deletes old cached CSS files.
drupal_clear_js_cache Deprecated core/includes/drupal.inc Deletes old cached JavaScript files and variables.
drupal_clear_path_cache Deprecated core/includes/drupal.inc Clear the path cache.
drupal_common_theme Deprecated core/includes/drupal.inc Provides theme registration for themes across .inc files.
drupal_convert_to_utf8 Deprecated core/includes/drupal.inc Converts data to UTF-8.
drupal_cron_run Deprecated core/includes/drupal.inc Executes a cron run when called.
drupal_current_script_url Deprecated core/includes/drupal.inc Returns the URL of the current script, with modified query parameters.
drupal_delete_file_if_stale Deprecated core/includes/drupal.inc Deletes files modified more than a set time ago.
drupal_deliver_html_page Deprecated core/includes/drupal.inc Packages and sends the result of a page callback to the browser as HTML.
drupal_deliver_page Deprecated core/includes/drupal.inc Delivers a page callback result to the browser in the appropriate format.
drupal_depth_first_search Deprecated core/includes/drupal.inc Performs a depth-first search and sort on a directed acyclic graph.
drupal_detect_baseurl Deprecated core/includes/drupal.inc Loads the installation profile, extracting its defined distribution name.
drupal_detect_database_types Deprecated core/includes/drupal.inc Returns all supported database installer objects that are compiled into PHP.
drupal_dirname Deprecated core/includes/drupal.inc Gets the name of the directory from a given path.
drupal_encode_path Deprecated core/includes/drupal.inc Encodes a Backdrop path for use in a URL.
drupal_environment_initialize Deprecated core/includes/drupal.inc Initializes the PHP environment.
drupal_error_levels Deprecated core/includes/drupal.inc Maps PHP error constants to watchdog severity levels.
drupal_exit Deprecated core/includes/drupal.inc Performs end-of-request tasks.
drupal_explode_tags Deprecated core/includes/drupal.inc Explodes a string of tags into an array.
drupal_fast_404 Deprecated core/includes/drupal.inc Returns a simple 404 Not Found page.
drupal_find_base_themes Deprecated core/includes/drupal.inc Find all the base themes for the specified theme.
drupal_find_theme_functions Deprecated core/includes/drupal.inc Allows themes and/or theme engines to discover overridden theme functions.
drupal_find_theme_templates Deprecated core/includes/drupal.inc Allows themes and/or theme engines to discover overridden templates.
drupal_flush_all_caches Deprecated core/includes/drupal.inc Flushes all cached data on the site.
drupal_form_submit Deprecated core/includes/drupal.inc Retrieves, populates, and processes a form.
drupal_generate_test_ua Deprecated core/includes/drupal.inc Generates a user agent string with a HMAC and timestamp for simpletest.
drupal_get_bootstrap_phase Deprecated core/includes/drupal.inc Returns the current bootstrap phase for this Backdrop process.
drupal_get_breadcrumb Deprecated core/includes/drupal.inc Gets the breadcrumb trail for the current page.
drupal_get_complete_schema Deprecated core/includes/drupal.inc Gets the whole database schema.
drupal_get_css Deprecated core/includes/drupal.inc Returns a themed representation of all stylesheets to attach to the page.
drupal_get_database_types Deprecated core/includes/drupal.inc Returns all supported database installer objects that are compiled into PHP.
drupal_get_destination Deprecated core/includes/drupal.inc Prepares a 'destination' URL query parameter for use with backdrop_goto().
drupal_get_feeds Deprecated core/includes/drupal.inc Gets the feed URLs for the current page.
drupal_get_filename Deprecated core/includes/drupal.inc Returns and optionally sets the filename for a system resource.
drupal_get_filetransfer_info Deprecated core/includes/drupal.inc Assembles the Backdrop FileTransfer registry.
drupal_get_form Deprecated core/includes/drupal.inc Returns a renderable form array for a given form ID.
drupal_get_hash_salt Deprecated core/includes/drupal.inc Gets a salt useful for hardening against SQL injection.
drupal_get_html_head Deprecated core/includes/drupal.inc Retrieves output to be displayed in the HEAD tag of the HTML page.
drupal_get_http_header Deprecated core/includes/drupal.inc Gets the HTTP response headers for the current page.
drupal_get_installed_schema_version Deprecated core/includes/drupal.inc Returns the currently installed schema version for a module.
drupal_get_js Deprecated core/includes/drupal.inc Returns a themed presentation of all JavaScript code for the current page.
drupal_get_library Deprecated core/includes/drupal.inc Retrieves information for a JavaScript/CSS library.
drupal_get_messages Deprecated core/includes/drupal.inc Returns all messages that have been set with backdrop_set_message().
drupal_get_normal_path Deprecated core/includes/drupal.inc Given a URL alias, return the internal path it represents.
drupal_get_path Deprecated core/includes/drupal.inc Returns the path to a system item (module, theme, etc.).
drupal_get_path_alias Deprecated core/includes/drupal.inc Given an internal Backdrop path, return the alias set by the administrator.
drupal_get_private_key Deprecated core/includes/drupal.inc Ensures the private key variable used to generate tokens is set.
drupal_get_profile Deprecated core/includes/drupal.inc Gets the name of the currently active installation profile.
drupal_get_query_array Deprecated core/includes/drupal.inc Splits a URL-encoded query string into an array.
drupal_get_query_parameters Deprecated core/includes/drupal.inc Processes a URL query parameter array to remove unwanted elements.
drupal_get_schema Deprecated core/includes/drupal.inc Gets the schema definition of a table, or the whole database schema.
drupal_get_schema_unprocessed Deprecated core/includes/drupal.inc Returns the unprocessed and unaltered version of a module's schema.
drupal_get_schema_versions Deprecated core/includes/drupal.inc Returns an array of available schema versions for a module.
drupal_get_title Deprecated core/includes/drupal.inc Gets the title of the current page.
drupal_get_token Deprecated core/includes/drupal.inc Generates a token based on $value, the user session, and the private key.
drupal_get_updaters Deprecated core/includes/drupal.inc Assembles the Backdrop Updater registry.
drupal_get_user_timezone Deprecated core/includes/drupal.inc Returns the time zone of the current user.
drupal_goto Deprecated core/includes/drupal.inc Sends the user to a different page.
drupal_group_css Deprecated core/includes/drupal.inc Grouping callback: Groups CSS items by their types, media, and browsers.
drupal_group_js Deprecated core/includes/drupal.inc Default callback to group JavaScript items.
drupal_hash_base64 Deprecated core/includes/drupal.inc Calculates a base-64 encoded, URL-safe sha-256 hash.
drupal_hmac_base64 Deprecated core/includes/drupal.inc Calculates a base-64 encoded, URL-safe sha-256 hmac.
drupal_html_class Deprecated core/includes/drupal.inc Prepares a string for use as a valid class name.
drupal_html_id Deprecated core/includes/drupal.inc Prepares a string for use as a valid HTML ID and guarantees uniqueness.
drupal_html_to_text Deprecated core/includes/drupal.inc Transforms an HTML string into plain text, preserving its structure.
drupal_http_build_query Deprecated core/includes/drupal.inc Parses an array into a valid, rawurlencoded query string.
drupal_http_header_attributes Deprecated core/includes/drupal.inc Formats an attribute string for an HTTP header.
drupal_http_request Deprecated core/includes/drupal.inc Performs an HTTP request.
drupal_implode_tags Deprecated core/includes/drupal.inc Implodes an array of tags into a string.
drupal_installation_attempted Deprecated core/includes/drupal.inc Returns TRUE if a Backdrop installation is currently being attempted.
drupal_install_mkdir Deprecated core/includes/drupal.inc Creates a directory with the specified permissions.
drupal_install_profile_distribution_name Deprecated core/includes/drupal.inc Loads the installation profile, extracting its defined distribution name.
drupal_install_schema Deprecated core/includes/drupal.inc Creates all tables defined in a module's hook_schema().
drupal_install_system Deprecated core/includes/drupal.inc Installs the system module.
drupal_is_cli Deprecated core/includes/drupal.inc Detects whether the current script is running in a command-line environment.
drupal_is_front_page Deprecated core/includes/drupal.inc Check if the current page is the home page.
drupal_json_decode Deprecated core/includes/drupal.inc Converts an HTML-safe JSON string into its PHP equivalent.
drupal_json_encode Deprecated core/includes/drupal.inc Converts a PHP variable into its JavaScript equivalent.
drupal_json_output Deprecated core/includes/drupal.inc Prints data to the page in JSON format.
drupal_js_defaults Deprecated core/includes/drupal.inc Constructs an array of the defaults that are used for JavaScript items.
drupal_language_initialize Deprecated core/includes/drupal.inc Initializes all the defined language types.
drupal_load Deprecated core/includes/drupal.inc Includes a file with the provided type and name.
drupal_load_stylesheet Deprecated core/includes/drupal.inc Loads the stylesheet and resolves all @import commands.
drupal_load_stylesheet_content Deprecated core/includes/drupal.inc Processes the contents of a stylesheet for aggregation.
drupal_load_updates Deprecated core/includes/drupal.inc Loads .install files for installed modules to initialize the update system.
drupal_lookup_path Deprecated core/includes/drupal.inc Given an alias, return its Backdrop system URL if one exists.
drupal_mail Deprecated core/includes/drupal.inc Composes and optionally sends an email message.
drupal_mail_system Deprecated core/includes/drupal.inc Returns an object that implements the MailSystemInterface interface.
drupal_maintenance_theme Deprecated core/includes/drupal.inc Enables use of the theme system without requiring database access.
drupal_map_assoc Deprecated core/includes/drupal.inc Forms an associative array from a linear array.
drupal_match_path Deprecated core/includes/drupal.inc Check if a path matches any pattern in a set of patterns.
drupal_mkdir Deprecated core/includes/drupal.inc Creates a directory using Backdrop's default mode.
drupal_move_uploaded_file Deprecated core/includes/drupal.inc Moves an uploaded file to a new location.
drupal_not_found Deprecated core/includes/drupal.inc Delivers a "page not found" error to the browser.
drupal_override_server_variables Deprecated core/includes/drupal.inc Sets appropriate server variables needed for command line scripts to work.
drupal_page_footer Deprecated core/includes/drupal.inc Performs end-of-request tasks.
drupal_page_get_cache Deprecated core/includes/drupal.inc Retrieves the current page from the cache.
drupal_page_header Deprecated core/includes/drupal.inc Sets HTTP headers in preparation for a page response.
drupal_page_is_cacheable Deprecated core/includes/drupal.inc Determines the cacheability of the current page.
drupal_page_set_cache Deprecated core/includes/drupal.inc Stores the current page in the cache.
drupal_parse_dependency Deprecated core/includes/drupal.inc Parses a dependency for comparison by backdrop_check_incompatibility().
drupal_parse_info_file Deprecated core/includes/drupal.inc Parses Backdrop module and theme .info files.
drupal_parse_info_format Deprecated core/includes/drupal.inc Parses data in Backdrop's .info format.
drupal_parse_url Deprecated core/includes/drupal.inc Parses a system URL string into an associative array suitable for url().
drupal_path_alias_allowlist_rebuild Deprecated core/includes/drupal.inc Rebuild the path alias allowlist.
drupal_path_alias_whitelist_rebuild core/includes/drupal.inc
drupal_path_initialize Deprecated core/includes/drupal.inc Initialize the $_GET['q'] variable to the proper normal path.
drupal_placeholder Deprecated core/includes/drupal.inc Formats text for emphasized display in a placeholder inside a sentence.
drupal_prepare_form Deprecated core/includes/drupal.inc Prepares a structured form array.
drupal_pre_render_conditional_comments Deprecated core/includes/drupal.inc Pre-render callback: Renders #browsers into #prefix and #suffix.
drupal_pre_render_link Deprecated core/includes/drupal.inc Pre-render callback: Renders a link into #markup.
drupal_pre_render_links Deprecated core/includes/drupal.inc Pre-render callback: Collects child links into a single array.
drupal_pre_render_markup Deprecated core/includes/drupal.inc Pre-render callback: Appends contents in #markup to #children.
drupal_pre_render_scripts Deprecated core/includes/drupal.inc #pre_render callback to add the elements needed for JavaScript tags to be rendered.
drupal_pre_render_styles Deprecated core/includes/drupal.inc Pre-render callback: Adds the elements needed for CSS tags to be rendered.
drupal_process_attached Deprecated core/includes/drupal.inc Adds attachments to a render() structure.
drupal_process_form Deprecated core/includes/drupal.inc Processes a form submission.
drupal_process_states Deprecated core/includes/drupal.inc Adds JavaScript to change the state of an element based on another element.
drupal_random_bytes Deprecated core/includes/drupal.inc Returns a string of highly randomized bytes (over the full 8-bit range).
drupal_random_key Deprecated core/includes/drupal.inc Returns a URL-safe, base64 encoded string of highly randomized bytes (over the full 8-bit range).
drupal_realpath Deprecated core/includes/drupal.inc Resolves the absolute filepath of a local URI or filepath.
drupal_rebuild_form Deprecated core/includes/drupal.inc Constructs a new $form from the information in $form_state.
drupal_redirect_form Deprecated core/includes/drupal.inc Redirects the user to a URL after a form has been processed.
drupal_region_class Deprecated core/includes/drupal.inc Provides a standard HTML class name that identifies a page region.
drupal_register_shutdown_function Deprecated core/includes/drupal.inc Registers a function for execution on shutdown.
drupal_render Deprecated core/includes/drupal.inc Renders HTML given a structured array tree.
drupal_render_cache_by_query Deprecated core/includes/drupal.inc Prepares an element for caching based on a query.
drupal_render_cache_get Deprecated core/includes/drupal.inc Gets the rendered output of a renderable element from the cache.
drupal_render_cache_set Deprecated core/includes/drupal.inc Caches the rendered output of a renderable element.
drupal_render_children Deprecated core/includes/drupal.inc Renders children of an element and concatenates them.
drupal_render_cid_create Deprecated core/includes/drupal.inc Creates the cache ID for a renderable element.
drupal_render_cid_parts Deprecated core/includes/drupal.inc Returns cache ID parts for building a cache ID.
drupal_render_collect_attached Deprecated core/includes/drupal.inc Collects #attached for an element and its children into a single array.
drupal_render_page Deprecated core/includes/drupal.inc Renders the page, including the HTML, HEAD, and BODY tags.
drupal_required_modules Deprecated core/includes/drupal.inc Returns an array of modules required by core.
drupal_requirements_severity Deprecated core/includes/drupal.inc Extracts the highest severity from the requirements array.
drupal_requirements_url Deprecated core/includes/drupal.inc Returns a URL for proceeding to the next page after a requirements problem.
drupal_retrieve_form Deprecated core/includes/drupal.inc Retrieves the structured array that defines a given form.
drupal_rewrite_settings Deprecated core/includes/drupal.inc Replaces values in settings.php with values in the submitted array.
drupal_rmdir Deprecated core/includes/drupal.inc Removes a directory.
drupal_save_session Deprecated core/includes/drupal.inc Determines whether to save session data of the current request.
drupal_schema_fields_sql Deprecated core/includes/drupal.inc Retrieves a list of fields from a table schema.
drupal_send_headers Deprecated core/includes/drupal.inc Sends the HTTP response headers that were previously set, adding defaults.
drupal_serve_page_from_cache Deprecated core/includes/drupal.inc Sets HTTP headers in preparation for a cached page response.
drupal_session_commit Deprecated core/includes/drupal.inc Commits the current session, if necessary.
drupal_session_destroy_uid Deprecated core/includes/drupal.inc Ends a specific user's session(s).
drupal_session_initialize Deprecated core/includes/drupal.inc Initializes the session handler, starting a session if needed.
drupal_session_regenerate Deprecated core/includes/drupal.inc Called when an anonymous user becomes authenticated or vice-versa.
drupal_session_start Deprecated core/includes/drupal.inc Starts a session forcefully, preserving already set session data.
drupal_session_started Deprecated core/includes/drupal.inc Returns whether a session has been started.
drupal_settings_initialize Deprecated core/includes/drupal.inc Sets the base URL, cookie domain, and session name from configuration.
drupal_set_breadcrumb Deprecated core/includes/drupal.inc Sets the breadcrumb trail for the current page.
drupal_set_installed_schema_version Deprecated core/includes/drupal.inc Update the installed version information for a module.
drupal_set_message Deprecated core/includes/drupal.inc Sets a message to display to the user.
drupal_set_time_limit Deprecated core/includes/drupal.inc Attempts to set the PHP maximum execution time.
drupal_set_title Deprecated core/includes/drupal.inc Sets the title of the current page.
drupal_site_offline Deprecated core/includes/drupal.inc Delivers a "site is under maintenance" message to the browser.
drupal_sort_title Deprecated core/includes/drupal.inc Sorts a structured array by 'title' key (no # prefix).
drupal_sort_weight Deprecated core/includes/drupal.inc Sorts a structured array by 'weight' key (no # prefix).
drupal_static Deprecated core/includes/drupal.inc Provides central static variable storage.
drupal_static_reset Deprecated core/includes/drupal.inc Resets one or all centrally stored static variable(s).
drupal_strip_dangerous_protocols Deprecated core/includes/drupal.inc Strips dangerous protocols (e.g. 'javascript:') from a URI.
drupal_strlen Deprecated core/includes/drupal.inc Counts the number of characters in a UTF-8 string.
drupal_strtolower Deprecated core/includes/drupal.inc Lowercase a UTF-8 string.
drupal_strtoupper Deprecated core/includes/drupal.inc Uppercase a UTF-8 string.
drupal_substr Deprecated core/includes/drupal.inc Cuts off a piece of a string based on character indices and counts.
drupal_system_listing Deprecated core/includes/drupal.inc Returns information about system object files (modules, themes, etc.).
drupal_tempnam Deprecated core/includes/drupal.inc Creates a file with a unique filename in the specified directory.
drupal_theme_access Deprecated core/includes/drupal.inc Determines if a theme is available to use.
drupal_theme_initialize Deprecated core/includes/drupal.inc Initializes the theme system by loading the theme.
drupal_theme_rebuild Deprecated core/includes/drupal.inc Forces the system to rebuild the theme registry.
drupal_truncate_bytes Deprecated core/includes/drupal.inc Truncates a UTF-8-encoded string safely to a number of bytes.
drupal_ucfirst Deprecated core/includes/drupal.inc Capitalizes the first letter of a UTF-8 string.
drupal_uninstall_modules Deprecated core/includes/drupal.inc Uninstalls a given list of disabled modules.
drupal_uninstall_schema Deprecated core/includes/drupal.inc Removes all tables defined in a module's hook_schema().
drupal_unlink Deprecated core/includes/drupal.inc Deletes a file.
drupal_unpack Deprecated core/includes/drupal.inc Unserializes and appends elements from a serialized string.
drupal_validate_form Deprecated core/includes/drupal.inc Validates user-submitted form data in the $form_state array.
drupal_validate_utf8 Deprecated core/includes/drupal.inc Checks whether a string is valid UTF-8.
drupal_valid_http_host Deprecated core/includes/drupal.inc Validates that a hostname (for example $_SERVER['HTTP_HOST']) is safe.
drupal_valid_path Deprecated core/includes/drupal.inc Checks a path exists and the current user has access to it.
drupal_valid_test_ua Deprecated core/includes/drupal.inc Returns the test prefix if this is an internal request from SimpleTest.
drupal_valid_token Deprecated core/includes/drupal.inc Validates a token based on $value, the user session, and the private key.
drupal_var_export Deprecated core/includes/drupal.inc Backdrop-friendly var_export().
drupal_verify_install_file Deprecated core/includes/drupal.inc Verifies the state of the specified file.
drupal_verify_profile Deprecated core/includes/drupal.inc Verifies an installation profile for installation.
drupal_wrap_mail Deprecated core/includes/drupal.inc Performs format=flowed soft wrapping for mail (RFC 3676).
drupal_write_record Deprecated core/includes/drupal.inc Saves (inserts or updates) a record to the database based upon the schema.
drupal_xml_parser_create Deprecated core/includes/drupal.inc Prepares a new XML parser.
element_sort Deprecated core/includes/drupal.inc Sorts a structured array by '#weight' property.
element_sort_by_title Deprecated core/includes/drupal.inc Sorts a structured array by '#title' property.
element_validate_integer Deprecated core/includes/drupal.inc This function has been removed with the inclusion of support for HTML5 number elements. See https://docs.backdropcms.org/node/43955
element_validate_integer_positive Deprecated core/includes/drupal.inc This function has been removed with the inclusion of support for HTML5 number elements. See https://docs.backdropcms.org/node/43955
element_validate_number Deprecated core/includes/drupal.inc This function has been removed with the inclusion of support for HTML5 number elements. See https://docs.backdropcms.org/node/43955
file_create_htaccess Deprecated core/includes/drupal.inc Creates a .htaccess file in the given directory.
format_username Deprecated core/includes/drupal.inc Format a username.
install_drupal Deprecated core/includes/drupal.inc Installs Backdrop either interactively or via an array of passed-in settings.
node_types_rebuild Deprecated core/includes/drupal.inc Drupal-compatible wrapper for clearing caches.
system_get_date_types Deprecated core/includes/drupal.inc Alters Backdrop's list of defined date formats and attributes to return the expected date types and attributes for Drupal's system_get_date_types() function.
views_clean_css_identifier Deprecated core/includes/drupal.inc Drupal-compatible wrapper for creating safe CSS identifiers.

Constants

Namesort descending Location Description
DRUPAL_ANONYMOUS_RID core/includes/drupal.inc
DRUPAL_AUTHENTICATED_RID core/includes/drupal.inc
DRUPAL_BOOTSTRAP_CONFIGURATION core/includes/drupal.inc
DRUPAL_BOOTSTRAP_DATABASE core/includes/drupal.inc
DRUPAL_BOOTSTRAP_FULL core/includes/drupal.inc
DRUPAL_BOOTSTRAP_LANGUAGE core/includes/drupal.inc
DRUPAL_BOOTSTRAP_PAGE_CACHE core/includes/drupal.inc
DRUPAL_BOOTSTRAP_PAGE_HEADER core/includes/drupal.inc
DRUPAL_BOOTSTRAP_SESSION core/includes/drupal.inc
DRUPAL_BOOTSTRAP_VARIABLES core/includes/drupal.inc
DRUPAL_CACHE_CUSTOM core/includes/drupal.inc
DRUPAL_CACHE_GLOBAL core/includes/drupal.inc
DRUPAL_CACHE_PER_PAGE core/includes/drupal.inc
DRUPAL_CACHE_PER_ROLE core/includes/drupal.inc
DRUPAL_CACHE_PER_USER core/includes/drupal.inc
DRUPAL_CORE_COMPATIBILITY core/includes/drupal.inc Core API compatibility.
DRUPAL_CRON_DEFAULT_THRESHOLD core/includes/drupal.inc
DRUPAL_DISABLED core/includes/drupal.inc
DRUPAL_HASH_COUNT core/includes/drupal.inc
DRUPAL_HASH_LENGTH core/includes/drupal.inc
DRUPAL_KILOBYTE core/includes/drupal.inc
DRUPAL_MAXIMUM_TEMP_FILE_AGE core/includes/drupal.inc
DRUPAL_MAX_HASH_COUNT core/includes/drupal.inc
DRUPAL_MINIMUM_PHP core/includes/drupal.inc
DRUPAL_MINIMUM_PHP_MEMORY_LIMIT core/includes/drupal.inc
DRUPAL_MIN_HASH_COUNT core/includes/drupal.inc
DRUPAL_NO_CACHE core/includes/drupal.inc
DRUPAL_OPTIONAL core/includes/drupal.inc
DRUPAL_PHP_FUNCTION_PATTERN core/includes/drupal.inc
DRUPAL_REQUIRED core/includes/drupal.inc
DRUPAL_ROOT core/includes/drupal.inc
DRUPAL_USER_TIMEZONE_DEFAULT core/includes/drupal.inc
DRUPAL_USER_TIMEZONE_EMPTY core/includes/drupal.inc
DRUPAL_USER_TIMEZONE_SELECT core/includes/drupal.inc
DRUPAL_WEIGHT_SELECT_MAX core/includes/drupal.inc
VERSION core/includes/drupal.inc The current system version.

Classes

Interfaces