Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
locale modules/locale/locale.module Provides interface translation services. 1 90
theme includes/theme.inc Generates themed output. 218 50
drupal_get_form includes/form.inc Returns a renderable form array for a given form ID. 50 32
t includes/bootstrap.inc Translates a string to the current language or to a given language. 1929 31
url includes/common.inc Generates an internal or external URL. 303 26
node_access modules/node/node.module Determines whether the current user may perform the operation on the node. 20 26
file_default_scheme includes/file.inc Gets the default file stream implementation. 21 15
language_list includes/bootstrap.inc Returns a list of installed languages, indexed by the specified key. 47 14
debug includes/common.inc Outputs debug information. 1 13
user_access modules/user/user.module Determine whether the user has a given privilege. 155 13
check_plain includes/bootstrap.inc Encodes special characters in a plain-text string for display as HTML. 188 11
watchdog includes/bootstrap.inc Logs a system message. 131 9
element_validate_integer_positive includes/form.inc Form element validation handler for integer elements that must be positive. 1 9
language_default includes/bootstrap.inc Returns the default language, as an object, or one of its properties. 26 9
drupal_sort_weight includes/common.inc Sorts a structured array by the 'weight' element. 8
image_styles modules/image/image.module Gets an array of all styles and their settings. 6 8
user_admin_role modules/user/user.admin.inc Form to configure a single role. 8
format_interval includes/common.inc Formats a time interval with the requested granularity. 30 8
drupal_add_js includes/common.inc Adds a JavaScript file, setting, or inline code to the page. 51 8
search_index modules/search/search.module Update the full-text search index for a particular item. 3 7
l includes/common.inc Formats an internal or external URL link as an HTML anchor tag. 142 6
image_scale includes/image.inc Scales an image while maintaining aspect ratio. 3 6
language_types includes/bootstrap.inc Returns an array of the available language types. 5 6
filter_default_format modules/filter/filter.module Returns the ID of the default text format for a particular user. 5 6
user_register_form modules/user/user.module Form builder; the user registration form. 5
user_role_permissions modules/user/user.module Determine the permissions for one or more roles. 2 5
user_login modules/user/user.module Form builder; the main user login form. 5
filter_formats modules/filter/filter.module Retrieves a list of text formats, ordered by weight. 14 5
date_iso8601 includes/common.inc Returns an ISO8601 formatted date based on the given date. 5
ajax_deliver includes/ajax.inc Packages and sends the result of a page callback as an Ajax response. 4
system_sort_modules_by_info_name modules/system/system.admin.inc Array sorting callback; sorts modules or themes by their name. 4
poll_vote modules/poll/poll.module Submit handler for processing a vote. 4
language_types_info includes/language.inc Returns all the defined language types. 7 4
drupal_goto includes/common.inc Sends the user to a different page. 45 4
user_delete modules/user/user.module Delete a user. 9 4
system_get_date_formats modules/system/system.module Gets the list of defined date formats and attributes. 6 4
taxonomy_autocomplete modules/taxonomy/taxonomy.pages.inc Page callback: Outputs JSON for taxonomy autocomplete suggestions. 4
image_desaturate includes/image.inc Converts an image to grayscale. 2 4
field_test_entity_form modules/field/tests/field_test.entity.inc Test_entity form. 4
user_logout modules/user/user.pages.inc Menu callback; logs the current user out, and redirects to the home page. 1 4
ip_address includes/bootstrap.inc Returns the IP address of the client machine. 23 4
trigger_get_assigned_actions modules/trigger/trigger.module Gets the action IDs of actions to be executed for a hook. 9 4
system_list includes/module.inc Builds a list of bootstrap modules and enabled modules and themes. 4 4
image_effects modules/image/image.module Loads all image effects from the database. 1 4
_batch_test_callback_1 modules/simpletest/tests/batch_test.callbacks.inc Implements callback_batch_operation(). 3
module_implements includes/module.inc Determines which modules are implementing a hook. 68 3
filter_fallback_format modules/filter/filter.module Returns the ID of the fallback text format that all users have access to. 14 3
locale_field_language_fallback modules/locale/locale.module Applies language fallback rules to the fields attached to the given entity. 3 3
_drupal_file_scan_cache includes/bootstrap.inc Returns the current list of cached file system scan results. 4 3
user_view modules/user/user.module Generate an array for rendering the given user. 1 3

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.