Functions

Primary tabs

Name Location Description Direct usessort ascending Strings
t drupal/core/includes/bootstrap.inc Translates a string to the current language or to a given language. 2,614 59
format_string drupal/core/includes/bootstrap.inc Formats a string for HTML display by replacing variable placeholders. 331
url drupal/core/includes/common.inc Generates an internal or external URL. 315 26
drupal_set_message drupal/core/includes/bootstrap.inc Sets a message to display to the user. 270
entity_create drupal/core/includes/entity.inc Constructs a new entity object, without permanently saving it. 264
check_plain drupal/core/includes/bootstrap.inc Encodes special characters in a plain-text string for display as HTML. 255 14
drupal_get_path drupal/core/includes/common.inc Returns the path to a system item (module, theme, etc.). 214 1
views_get_view drupal/core/modules/views/views.module Loads a view from configuration. 204 2
user_access drupal/core/modules/user/user.module Determine whether the user has a given privilege. 188 11
drupal_render drupal/core/includes/common.inc Renders HTML given a structured array tree. 177 1
entity_load drupal/core/includes/entity.inc Loads an entity from the database. 173
drupal_static drupal/core/includes/bootstrap.inc Provides central static variable storage. 159
theme drupal/core/includes/theme.inc Generates themed output. 154 75
config drupal/core/includes/config.inc Retrieves a configuration object. 153 8
l drupal/core/includes/common.inc Formats an internal or external URL link as an HTML anchor tag. 141 34
field_create_instance Deprecated drupal/core/modules/field/field.crud.inc Creates an instance of a field, binding it to a bundle. 122
field_create_field Deprecated drupal/core/modules/field/field.crud.inc Creates a field. 121
watchdog drupal/core/includes/bootstrap.inc Logs a system message. 115 4
variable_get drupal/core/includes/bootstrap.inc Returns a persistent variable. 112 1
drupal_static_reset drupal/core/includes/bootstrap.inc Resets one or all centrally stored static variable(s). 106
db_select drupal/core/includes/database.inc Returns a new SelectQuery object for the active database. 98
module_exists Deprecated drupal/core/includes/bootstrap.inc Determines whether a given module exists. 92
form_set_error drupal/core/includes/form.inc Files an error against a form element. 88 1
language_list drupal/core/includes/bootstrap.inc Returns a list of languages set up on the site. 87 22
module_invoke_all Deprecated drupal/core/includes/bootstrap.inc Invokes a hook in all enabled modules that implement it. 86
field_info_field drupal/core/modules/field/field.info.inc Returns data about an individual field, given a field name. 86
drupal_strtolower drupal/core/includes/unicode.inc Lowercase a UTF-8 string. 83
element_children drupal/core/includes/common.inc Identifies the children of an element array, optionally sorted by weight. 81
drupal_set_title drupal/core/includes/bootstrap.inc Sets the title of the current page. 76
node_load drupal/core/modules/node/node.module Loads a node entity from the database. 76
entity_get_info Deprecated drupal/core/includes/entity.inc Gets the entity definition for an entity type. 73
drupal_alter Deprecated drupal/core/includes/bootstrap.inc Passes alterable variables to specific hook_TYPE_alter() implementations. 73 1
entity_load_multiple drupal/core/includes/entity.inc Loads multiple entities from the database. 71
db_query drupal/core/includes/database.inc Executes an arbitrary query string against the active database. 70 3
format_plural drupal/core/includes/common.inc Formats a string containing a count of items. 68
format_date drupal/core/includes/common.inc Formats a date, using a date type or a custom date format string. 68
drupal_map_assoc drupal/core/includes/common.inc Forms an associative array from a linear array. 63
module_implements Deprecated drupal/core/includes/bootstrap.inc Determines which modules are implementing a hook. 60 5
entity_load_multiple_by_properties drupal/core/includes/entity.inc Load entities by their property values. 59
module_enable Deprecated drupal/core/includes/module.inc Enables or installs a given list of modules. 57
variable_set drupal/core/includes/bootstrap.inc Sets a persistent variable. 57
file_load drupal/core/modules/file/file.module Loads a single file entity from the database. 54
language Deprecated drupal/core/includes/bootstrap.inc Returns the language object for a given language type. 53 72
field_info_instance drupal/core/modules/field/field.info.inc Returns an array of instance data for a specific field and bundle. 53
user_load drupal/core/modules/user/user.module Loads a user object. 52
drupal_add_js drupal/core/includes/common.inc Adds a JavaScript file, setting, or inline code to the page. 51 12
module_load_include drupal/core/includes/module.inc Loads a module include file. 50
current_path drupal/core/includes/path.inc Return the current URL path of the page being viewed. 49
file_create_url drupal/core/includes/file.inc Creates a web-accessible URL for a stream to an external or local file. 47 2
form_error drupal/core/includes/form.inc Flags an element as having an error. 47

Pages

Other projects