Functions

Primary tabs

Name Location Description Direct usessort descending Strings
drupal_get_form drupal/includes/form.inc Returns a renderable form array for a given form ID. 49 32
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
cache_get drupal/includes/cache.inc Returns data from the persistent cache. 54 1
user_load drupal/modules/user/user.module Loads a user object. 55
format_date drupal/includes/common.inc Formats a date, using a date type or a custom date format string. 56
db_change_field drupal/includes/database/database.inc Changes a field definition. 57
field_info_field drupal/modules/field/field.info.inc Returns data about an individual field, given a field name. 62
drupal_set_title drupal/includes/bootstrap.inc Sets the title of the current page. 67
element_children drupal/includes/common.inc Identifies the children of an element array, optionally sorted by weight. 68
module_implements drupal/includes/module.inc Determines which modules are implementing a hook. 69 4
module_invoke drupal/includes/module.inc Invokes a hook in a particular module. 70
cache_clear_all drupal/includes/cache.inc Expires data from the cache. 80 2
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
form_set_error drupal/includes/form.inc Files an error against a form element. 85 1
node_load drupal/modules/node/node.module Loads a node object from the database. 87
drupal_render drupal/includes/common.inc Renders HTML given a structured array tree. 91 1
drupal_alter drupal/includes/module.inc Passes alterable variables to specific hook_TYPE_alter() implementations. 92 3
drupal_static_reset drupal/includes/bootstrap.inc Resets one or all centrally stored static variable(s). 111
db_select drupal/includes/database/database.inc Returns a new SelectQuery object for the active database. 113
watchdog drupal/includes/bootstrap.inc Logs a system message. 124 9
db_query drupal/includes/database/database.inc Executes an arbitrary query string against the active database. 128 2
l drupal/includes/common.inc Formats an internal or external URL link as an HTML anchor tag. 141 2
module_invoke_all drupal/includes/module.inc Invokes a hook in all enabled modules that implement it. 147
user_access drupal/modules/user/user.module Determine whether the user has a given privilege. 154 13
drupal_get_path drupal/includes/common.inc Returns the path to a system item (module, theme, etc.). 170 1
drupal_static drupal/includes/bootstrap.inc Provides central static variable storage. 184
check_plain drupal/includes/bootstrap.inc Encodes special characters in a plain-text string for display as HTML. 188 10
theme drupal/includes/theme.inc Generates themed output. 218 38
format_string drupal/includes/bootstrap.inc Formats a string for HTML display by replacing variable placeholders. 253 1
drupal_set_message drupal/includes/bootstrap.inc Sets a message to display to the user. 267
url drupal/includes/common.inc Generates an internal or external URL. 303 14
variable_set drupal/includes/bootstrap.inc Sets a persistent variable. 387
variable_get drupal/includes/bootstrap.inc Returns a persistent variable. 639 1
t drupal/includes/bootstrap.inc Translates a string to the current language or to a given language. 1,903 28

Pages

Other projects