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