Functions - 7.x - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| drupal_sort_title | includes/ |
Array sorting callback; sorts elements by 'title' key. | 1 | ||
| drupal_sort_weight | includes/ |
Sorts a structured array by the 'weight' element. | 8 | ||
| drupal_static | includes/ |
Provides central static variable storage. | 186 | ||
| drupal_static_reset | includes/ |
Resets one or all centrally stored static variable(s). | 112 | ||
| drupal_strip_dangerous_protocols | includes/ |
Strips dangerous protocols (e.g. 'javascript:') from a URI. | 8 | ||
| drupal_strlen | includes/ |
Counts the number of characters in a UTF-8 string. | 21 | ||
| drupal_strtolower | includes/ |
Lowercase a UTF-8 string. | 50 | ||
| drupal_strtoupper | includes/ |
Uppercase a UTF-8 string. | 5 | 1 | |
| drupal_substr | includes/ |
Cuts off a piece of a string based on character indices and counts. | 12 | 1 | |
| drupal_system_listing | includes/ |
Returns information about system object files (modules, themes, etc.). | 7 | 1 | |
| drupal_tempnam | includes/ |
Creates a file with a unique filename in the specified directory. | 6 | ||
| drupal_theme_access | includes/ |
Determines if a theme is available to use. | 6 | 1 | |
| drupal_theme_initialize | includes/ |
Initializes the theme system by loading the theme. | 15 | ||
| drupal_theme_rebuild | includes/ |
Forces the system to rebuild the theme registry. | 8 | ||
| drupal_trigger_fatal_error | includes/ |
Invoke trigger_error() using a fatal error that will terminate the request. | 6 | 2 | |
| drupal_truncate_bytes | includes/ |
Truncates a UTF-8-encoded string safely to a number of bytes. | 1 | ||
| drupal_ucfirst | includes/ |
Capitalizes the first letter of a UTF-8 string. | 6 | ||
| drupal_uninstall_modules | includes/ |
Uninstalls a given list of disabled modules. | 5 | ||
| drupal_uninstall_schema | includes/ |
Removes all tables defined in a module's hook_schema(). | 1 | ||
| drupal_unlink | includes/ |
Deletes a file. | 18 | ||
| drupal_unpack | includes/ |
Unserializes and appends elements from a serialized string. | |||
| drupal_validate_form | includes/ |
Validates user-submitted form data in the $form_state array. | 1 | ||
| drupal_validate_utf8 | includes/ |
Checks whether a string is valid UTF-8. | 2 | ||
| drupal_valid_http_host | includes/ |
Validates that a hostname (for example $_SERVER['HTTP_HOST']) is safe. | 2 | ||
| drupal_valid_path | includes/ |
Checks a path exists and the current user has access to it. | 4 | ||
| drupal_valid_test_ua | includes/ |
Returns the test prefix if this is an internal request from SimpleTest. | 9 | ||
| drupal_valid_token | includes/ |
Validates a token based on $value, the user session, and the private key. | 17 | ||
| drupal_var_export | includes/ |
Drupal-friendly var_export(). | |||
| drupal_verify_install_file | includes/ |
Verifies the state of the specified file. | 4 | ||
| drupal_verify_profile | includes/ |
Verifies an installation profile for installation. | 1 | ||
| drupal_wrap_mail | includes/ |
Performs format=flowed soft wrapping for mail (RFC 3676). | 4 | ||
| drupal_write_record | includes/ |
Saves (inserts or updates) a record to the database based upon the schema. | 33 | ||
| drupal_xml_parser_create | includes/ |
Prepares a new XML parser. | 2 | ||
| element_child | includes/ |
Checks if the key is a child. | 2 | 1 | |
| element_children | includes/ |
Identifies the children of an element array, optionally sorted by weight. | 69 | ||
| element_get_visible_children | includes/ |
Returns the visible children of an element. | |||
| element_info | includes/ |
Retrieves the default properties for the defined element type. | 11 | ||
| element_info_property | includes/ |
Retrieves a single property for the defined element type. | 1 | ||
| element_properties | includes/ |
Gets properties of a structured array element (keys beginning with '#'). | 1 | ||
| element_property | includes/ |
Checks if the key is a property. | 1 | ||
| element_set_attributes | includes/ |
Sets HTML attributes based on element properties. | 12 | ||
| element_sort | includes/ |
Function used by uasort to sort structured arrays by weight. | 3 | ||
| element_sort_by_title | includes/ |
Array sorting callback; sorts elements by title. | 2 | ||
| element_validate_integer | includes/ |
Form element validation handler for integer elements. | 1 | 2 | |
| element_validate_integer_positive | includes/ |
Form element validation handler for integer elements that must be positive. | 1 | 9 | |
| element_validate_number | includes/ |
Form element validation handler for number elements. | 1 | 1 | |
| entity_cache_test_dependency_entity_info | modules/ |
Implements hook_entity_info(). | |||
| entity_cache_test_watchdog | modules/ |
Implements hook_watchdog(). | |||
| entity_create_stub_entity | includes/ |
Helper function to assemble an object structure with initial ids. | 4 | ||
| entity_crud_hook_test_comment_delete | modules/ |
Implements hook_comment_delete(). |
Pagination
- Previous page
- Page 18
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.