Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
filter_test_filter_info modules/simpletest/tests/filter_test.module Implements hook_filter_info().
filter_test_replace modules/simpletest/tests/filter_test.module Implements callback_filter_process(). 1
filter_theme modules/filter/filter.module Implements hook_theme().
filter_tips_long modules/filter/filter.pages.inc Page callback: Displays a page with long filter tips. 1
filter_update_7000 modules/filter/filter.install Upgrade the {filter_formats} table and rename it to {filter_format}.
filter_update_7001 modules/filter/filter.install Break out "escape HTML filter" option to its own filter.
filter_update_7003 modules/filter/filter.install Upgrade the {filter} table for core filters.
filter_update_7005 modules/filter/filter.install Integrate text formats with the user permissions system.
filter_update_7008 modules/filter/filter.install Grant usage of all text formats to user roles having the 'administer filters' permission.
filter_update_7009 modules/filter/filter.install Converts fields that store serialized variables from text to blob.
filter_update_7010 modules/filter/filter.install Change {filter_format}.format and {filter}.format into varchar.
filter_update_dependencies modules/filter/filter.install Implements hook_update_dependencies().
filter_xss includes/common.inc Filters HTML to prevent cross-site-scripting (XSS) vulnerabilities. 25
filter_xss_admin includes/common.inc Applies a very permissive XSS/HTML filter for admin-only use. 23 1
filter_xss_bad_protocol includes/common.inc Processes an HTML attribute value and strips dangerous protocols from URLs. 1
fix_gpc_magic includes/common.inc Fixes double-escaping caused by "magic quotes" in some PHP installations. 1
flood_clear_event includes/common.inc Makes the flood control mechanism forget an event for the current visitor. 2
flood_is_allowed includes/common.inc Checks whether a user is allowed to proceed with the specified event. 5
flood_register_event includes/common.inc Registers an event for the current visitor to the flood control mechanism. 5
format_date includes/common.inc Formats a date, using a date type or a custom date format string. 56
format_interval includes/common.inc Formats a time interval with the requested granularity. 30 8
format_plural includes/common.inc Formats a string containing a count of items. 51
format_rss_channel includes/common.inc Formats an RSS channel. 2
format_rss_item includes/common.inc Formats a single RSS item. 2
format_size includes/common.inc Generates a string representation for the given byte count. 18
format_string includes/bootstrap.inc Formats a string for HTML display by replacing variable placeholders. 262 1
format_username includes/common.inc Format a username. 31 1
format_xml_elements includes/common.inc Formats XML elements. 4
form_builder includes/form.inc Builds and processes all elements in the structured form array. 3
form_clear_error includes/form.inc Clears all errors against all form elements made by form_set_error(). 3
form_error includes/form.inc Flags an element as having an error. 28
form_execute_handlers includes/form.inc Executes custom validation and submission handlers for a given form. 3
form_get_cache includes/form.inc Fetches a form from cache. 5
form_get_error includes/form.inc Returns the error message filed against the given form element. 1
form_get_errors includes/form.inc Returns an associative array of all errors if any. 12
form_get_options includes/form.inc Returns the indexes of a select element's options matching a given key.
form_label_test_form modules/simpletest/tests/form_test.module A form for testing form labels and required marks. 1
form_load_include includes/form.inc Ensures an include file is loaded whenever the form is processed. 1
form_options_flatten includes/form.inc Allows PHP array processing of multiple select options with the same value. 3
form_pre_render_conditional_form_element includes/form.inc Adds form element theming to an element if its title or description is set. 1
form_pre_render_fieldset includes/form.inc Adds members of this group as actual elements for rendering. 1
form_process_actions includes/form.inc Processes a form actions container element. 1
form_process_autocomplete includes/form.inc Process function to prepare autocomplete data. 1
form_process_button includes/form.inc Processes a form button element. 1
form_process_checkbox includes/form.inc Sets the #checked property of a checkbox element. 1
form_process_checkboxes includes/form.inc Processes a checkboxes form element. 1
form_process_container includes/form.inc Processes a container element. 1
form_process_date includes/form.inc Expands a date element into year, month, and day select elements. 1
form_process_fieldset includes/form.inc Arranges fieldsets into groups. 1
form_process_machine_name includes/form.inc Processes a machine-readable name form element. 1

Other projects


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