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,423 57
url drupal/core/includes/common.inc Generates an internal or external URL. 302 23
format_string drupal/core/includes/bootstrap.inc Replaces placeholders with sanitized values in a string. 281 1
drupal_set_message drupal/core/includes/bootstrap.inc Sets a message to display to the user. 264
check_plain drupal/core/includes/bootstrap.inc Encodes special characters in a plain-text string for display as HTML. 262 15
variable_get drupal/core/includes/bootstrap.inc Returns a persistent variable. 233 1
theme drupal/core/includes/theme.inc Generates themed output. 230 46
drupal_static drupal/core/includes/bootstrap.inc Provides central static variable storage. 187
drupal_get_path drupal/core/includes/common.inc Returns the path to a system item (module, theme, etc.). 178 1
user_access drupal/core/modules/user/user.module Determine whether the user has a given privilege. 168 18
views_get_view drupal/core/modules/views/views.module Loads a view from configuration. 163 2
l drupal/core/includes/common.inc Formats an internal or external URL link as an HTML anchor tag. 138 31
config drupal/core/includes/config.inc Retrieves a configuration object. 137 6
entity_create drupal/core/includes/entity.inc Constructs a new entity object, without permanently saving it. 136
module_invoke_all drupal/core/includes/module.inc Invokes a hook in all enabled modules that implement it. 133
watchdog drupal/core/includes/bootstrap.inc Logs a system message. 124 4
drupal_render drupal/core/includes/common.inc Renders HTML given a structured array tree. 123 1
variable_set drupal/core/includes/bootstrap.inc Sets a persistent variable. 121
db_select drupal/core/includes/database.inc Returns a new SelectQuery object for the active database. 121
drupal_static_reset drupal/core/includes/bootstrap.inc Resets one or all centrally stored static variable(s). 100
db_query drupal/core/includes/database.inc Executes an arbitrary query string against the active database. 93 3
drupal_alter drupal/core/includes/module.inc Passes alterable variables to specific hook_TYPE_alter() implementations. 93 2
module_exists drupal/core/includes/module.inc Determines whether a given module exists. 92 1
field_create_instance drupal/core/modules/field/field.crud.inc Creates an instance of a field, binding it to a bundle. 92
field_create_field drupal/core/modules/field/field.crud.inc Creates a field. 90
form_set_error drupal/core/includes/form.inc Files an error against a form element. 88 1
field_info_field drupal/core/modules/field/field.info.inc Returns data about an individual field, given a field name. 86
drupal_set_title drupal/core/includes/bootstrap.inc Sets the title of the current page. 81
element_children drupal/core/includes/common.inc Identifies the children of an element array, optionally sorted by weight. 80
node_load drupal/core/modules/node/node.module Loads a node entity from the database. 80
module_invoke drupal/core/includes/module.inc Invokes a hook in a particular module. 75
language_list drupal/core/includes/bootstrap.inc Returns a list of languages set up on the site. 72 17
module_implements drupal/core/includes/module.inc Determines which modules are implementing a hook. 70 4
entity_get_info drupal/core/includes/entity.inc Gets the entity definition for an entity type. 69 1
drupal_strtolower drupal/core/includes/unicode.inc Lowercase a UTF-8 string. 68
format_date drupal/core/includes/common.inc Formats a date, using a date type or a custom date format string. 65
format_plural drupal/core/includes/common.inc Formats a string containing a count of items. 64
module_load_include drupal/core/includes/module.inc Loads a module include file. 59
language drupal/core/includes/bootstrap.inc Returns the language object for a given language type. 57 51
entity_load drupal/core/includes/entity.inc Loads an entity from the database. 55
file_load drupal/core/modules/file/file.module Loads a single file entity from the database. 53
drupal_map_assoc drupal/core/includes/common.inc Forms an associative array from a linear array. 51
field_info_instance drupal/core/modules/field/field.info.inc Returns an array of instance data for a specific field and bundle. 51
drupal_add_js drupal/core/includes/common.inc Adds a JavaScript file, setting, or inline code to the page. 49 10
user_load drupal/core/modules/user/user.module Loads a user object. 49
current_path drupal/core/includes/path.inc Return the current URL path of the page being viewed. 47
confirm_form drupal/core/modules/system/system.module Generates a form array for a confirmation form. 45
form_error drupal/core/includes/form.inc Flags an element as having an error. 43
file_create_url drupal/core/includes/file.inc Creates a web-accessible URL for a stream to an external or local file. 42
drupal_realpath drupal/core/includes/file.inc Returns the absolute local filesystem path of a stream URI. 42

Pages

Other projects