Functions

Primary tabs

Name Location Description Direct usessort ascending Strings
t drupal/includes/bootstrap.inc Translates a string to the current language or to a given language. 1,903 28
variable_get drupal/includes/bootstrap.inc Returns a persistent variable. 639 1
variable_set drupal/includes/bootstrap.inc Sets a persistent variable. 387
url drupal/includes/common.inc Generates an internal or external URL. 303 14
drupal_set_message drupal/includes/bootstrap.inc Sets a message to display to the user. 267
format_string drupal/includes/bootstrap.inc Formats a string for HTML display by replacing variable placeholders. 253 1
theme drupal/includes/theme.inc Generates themed output. 218 38
check_plain drupal/includes/bootstrap.inc Encodes special characters in a plain-text string for display as HTML. 188 10
drupal_static drupal/includes/bootstrap.inc Provides central static variable storage. 184
drupal_get_path drupal/includes/common.inc Returns the path to a system item (module, theme, etc.). 170 1
user_access drupal/modules/user/user.module Determine whether the user has a given privilege. 154 13
module_invoke_all drupal/includes/module.inc Invokes a hook in all enabled modules that implement it. 147
l drupal/includes/common.inc Formats an internal or external URL link as an HTML anchor tag. 141 2
db_query drupal/includes/database/database.inc Executes an arbitrary query string against the active database. 128 2
watchdog drupal/includes/bootstrap.inc Logs a system message. 124 9
db_select drupal/includes/database/database.inc Returns a new SelectQuery object for the active database. 113
drupal_static_reset drupal/includes/bootstrap.inc Resets one or all centrally stored static variable(s). 111
drupal_alter drupal/includes/module.inc Passes alterable variables to specific hook_TYPE_alter() implementations. 92 3
drupal_render drupal/includes/common.inc Renders HTML given a structured array tree. 91 1
node_load drupal/modules/node/node.module Loads a node object from the database. 87
form_set_error drupal/includes/form.inc Files an error against a form element. 85 1
variable_del drupal/includes/bootstrap.inc Unsets a persistent variable. 81
field_create_field drupal/modules/field/field.crud.inc Creates a field. 81
field_create_instance drupal/modules/field/field.crud.inc Creates an instance of a field, binding it to a bundle. 81
cache_clear_all drupal/includes/cache.inc Expires data from the cache. 80 2
module_invoke drupal/includes/module.inc Invokes a hook in a particular module. 70
module_implements drupal/includes/module.inc Determines which modules are implementing a hook. 69 4
element_children drupal/includes/common.inc Identifies the children of an element array, optionally sorted by weight. 68
drupal_set_title drupal/includes/bootstrap.inc Sets the title of the current page. 67
field_info_field drupal/modules/field/field.info.inc Returns data about an individual field, given a field name. 62
db_change_field drupal/includes/database/database.inc Changes a field definition. 57
format_date drupal/includes/common.inc Formats a date, using a date type or a custom date format string. 56
user_load drupal/modules/user/user.module Loads a user object. 55
cache_get drupal/includes/cache.inc Returns data from the persistent cache. 54 1
cache_set drupal/includes/cache.inc Stores data in the persistent cache. 51
format_plural drupal/includes/common.inc Formats a string containing a count of items. 51
drupal_add_js drupal/includes/common.inc Adds a JavaScript file, setting, or inline code to the page. 51 8
drupal_strtolower drupal/includes/unicode.inc Lowercase a UTF-8 string. 49
drupal_get_form drupal/includes/form.inc Returns a renderable form array for a given form ID. 49 32
drupal_realpath drupal/includes/file.inc Resolves the absolute filepath of a local URI or filepath. 47
language_list drupal/includes/bootstrap.inc Returns a list of installed languages, indexed by the specified key. 47 14
module_load_include drupal/includes/module.inc Loads a module include file. 46
field_info_instance drupal/modules/field/field.info.inc Returns an array of instance data for a specific field and bundle. 46
drupal_goto drupal/includes/common.inc Sends the user to a different page. 45 4
module_exists drupal/includes/module.inc Determines whether a given module exists. 43
confirm_form drupal/modules/system/system.module Generates a form array for a confirmation form. 43
field_test_create_stub_entity drupal/modules/field/tests/field_test.entity.inc Creates a basic test_entity entity. 43 1
drupal_add_css drupal/includes/common.inc Adds a cascading stylesheet to the stylesheet queue. 42 3
entity_extract_ids drupal/includes/common.inc Helper function to extract id, vid, and bundle name from an entity. 42
drupal_attributes drupal/includes/common.inc Converts an associative array to an XML/HTML tag attribute string. 41

Pages

Other projects