Functions

Primary tabs

Name Location Description Direct usessort ascending Strings
module_invoke Deprecated drupal/core/includes/bootstrap.inc Invokes a hook in a particular module. 46
update_variables_to_config drupal/core/includes/update.inc Updates config with values set on Drupal 7.x. 45
language_save drupal/core/modules/language/language.module API function to add or update a language. 44
filter_xss_admin drupal/core/includes/common.inc Applies a very permissive XSS/HTML filter for admin-only use. 43 1
drupal_realpath drupal/core/includes/file.inc Returns the absolute local filesystem path of a stream URI. 42
drupal_get_destination drupal/core/includes/common.inc Prepares a 'destination' URL query parameter for use with drupal_goto(). 42 1
language_load drupal/core/includes/bootstrap.inc Loads a language object from the database. 41
field_info_instances drupal/core/modules/field/field.info.inc Retrieves information about field instances. 41
st drupal/core/includes/install.inc Translates a string when some systems are not available. 40 5
drupal_basename drupal/core/includes/file.inc Gets the filename from a given path. 37
conf_path drupal/core/includes/bootstrap.inc Returns the appropriate configuration directory. 37 3
list_themes drupal/core/includes/theme.inc Returns a list of all currently available themes. 36 1
form_set_value drupal/core/includes/form.inc Changes submitted form values during form validation. 36
file_uri_scheme drupal/core/includes/file.inc Returns the scheme of a URI (e.g. a stream). 34
theme_enable drupal/core/includes/theme.inc Enables a given list of themes. 34
base_path drupal/core/includes/common.inc Returns the base URL path (i.e., directory) of the Drupal installation. 34
drupal_add_library drupal/core/includes/common.inc Adds multiple JavaScript or CSS files at the same time. 33 2
field_update_field Deprecated drupal/core/modules/field/field.crud.inc Updates a field. 33
format_interval drupal/core/includes/common.inc Formats a time interval with the requested granularity. 32 7
field_test_create_entity drupal/core/modules/field/tests/modules/field_test/field_test.entity.inc Creates a basic test_entity entity. 32
drupal_add_css drupal/core/includes/common.inc Adds a cascading stylesheet to the stylesheet queue. 31 6
entity_get_bundles drupal/core/includes/entity.inc Returns the entity bundle info. 30 1
field_info_field_types drupal/core/modules/field/field.info.inc Returns information about field types from hook_field_info(). 29
drupal_strlen drupal/core/includes/unicode.inc Counts the number of characters in a UTF-8 string. 28 2
entity_get_form drupal/core/includes/entity.inc Returns the built and processed entity form for the given entity. 28 4
drupal_goto drupal/core/includes/common.inc Sends the user to a different Drupal page. 28 4
menu_get_item drupal/core/includes/menu.inc Gets a router item. 28
drupal_get_form drupal/core/includes/form.inc Returns a renderable form array for a given form ID. 28 26
get_t drupal/core/includes/bootstrap.inc Returns the name of the proper localization function. 28
field_info_field_by_id drupal/core/modules/field/field.info.inc Returns data about an individual field, given a field ID. 28
db_create_table drupal/core/includes/database.inc Creates a new table from a Drupal table definition. 27
batch_set drupal/core/includes/form.inc Adds a new batch. 27
node_access drupal/core/modules/node/node.module Access callback: Checks a user's permission for performing a node operation. 27 33
file_prepare_directory drupal/core/includes/file.inc Checks that the directory exists and is writable. 26
db_change_field drupal/core/includes/database.inc Changes a field definition. 25
drupal_json_decode drupal/core/includes/common.inc Converts an HTML-safe JSON string into its PHP equivalent. 25
drupal_render_children drupal/core/includes/common.inc Renders children of an element and concatenates them. 25
cache_invalidate_tags Deprecated drupal/core/includes/cache.inc Marks cache items from all bins with any of the specified tags as invalid. 25 1
_field_sql_storage_tablename drupal/core/modules/field_sql_storage/field_sql_storage.module Generates a table name for a field data table. 25 1
decode_entities drupal/core/includes/unicode.inc Decodes all HTML entities (including numerical ones) to regular UTF-8 bytes. 24
file_scan_directory drupal/core/includes/file.inc Finds all files that match a given mask in a given directory. 24
drupal_get_js drupal/core/includes/common.inc Returns a themed presentation of all JavaScript code for the current page. 24
module_load_install drupal/core/includes/module.inc Loads a module's installation hooks. 23
filter_xss drupal/core/includes/common.inc Filters HTML to prevent cross-site-scripting (XSS) vulnerabilities. 23
arg drupal/core/includes/bootstrap.inc Returns a component of the current Drupal path. 23 1
batch_test_stack drupal/core/modules/system/tests/modules/batch_test/batch_test.module Helper function: Stores or retrieves traced execution data. 23
field_info_cache_clear drupal/core/modules/field/field.info.inc Clears the field info cache without clearing the field data cache. 23
field_attach_load drupal/core/modules/field/field.attach.inc Loads fields for the current revisions of a group of entities. 23
_field_sql_storage_revision_tablename drupal/core/modules/field_sql_storage/field_sql_storage.module Generates a table name for a field revision archive table. 23 1
db_add_field drupal/core/includes/database.inc Adds a new field to a table. 22

Pages

Other projects