Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
file_usage_list includes/file.inc Determines where a file is used. 7
file_validate includes/file.inc Checks that a file meets the criteria specified by the validators. 3
file_validate_extensions includes/file.inc Checks that the filename ends with an allowed extension. 3
file_validate_image_resolution includes/file.inc Verifies that image dimensions are within the specified maximum and minimum. 1
file_validate_is_image includes/file.inc Checks that the file is recognized by image_get_info() as an image. 1
file_validate_name_length includes/file.inc Checks for files with names longer than we can store in the database. 1
file_validate_size includes/file.inc Checks that the file's size is below certain limits. 1
file_valid_uri includes/file.inc Determines whether the URI has a valid scheme for file API operations. 5
filter_access modules/filter/filter.module Checks if a user has access to a particular text format. 5 1
filter_admin_disable modules/filter/filter.admin.inc Form constructor for the text format deletion confirmation form. 1
filter_admin_disable_submit modules/filter/filter.admin.inc Form submission handler for filter_admin_disable().
filter_admin_format_form modules/filter/filter.admin.inc Form constructor for the text format add/edit form. 1
filter_admin_format_form_submit modules/filter/filter.admin.inc Form submission handler for filter_admin_format_form().
filter_admin_format_form_validate modules/filter/filter.admin.inc Form validation handler for filter_admin_format_form().
filter_admin_format_page modules/filter/filter.admin.inc Page callback: Displays the text format add/edit form. 1
filter_admin_format_title modules/filter/filter.module Displays a text format form title. 1 1
filter_admin_overview modules/filter/filter.admin.inc Page callback: Form constructor for a form to list and reorder text formats. 1
filter_admin_overview_submit modules/filter/filter.admin.inc Form submission handler for filter_admin_overview().
filter_default_format modules/filter/filter.module Returns the ID of the default text format for a particular user. 5 6
filter_dom_load modules/filter/filter.module Parses an HTML snippet and returns it as a DOM object. 2
filter_dom_serialize modules/filter/filter.module Converts a DOM object back to an HTML snippet. 3
filter_dom_serialize_escape_cdata_element modules/filter/filter.module Adds comments around the <!CDATA section in a dom element. 1
filter_element_info modules/filter/filter.module Implements hook_element_info().
filter_fallback_format modules/filter/filter.module Returns the ID of the fallback text format that all users have access to. 14 3
filter_fallback_format_title modules/filter/filter.module Returns the title of the fallback text format.
filter_filter_info modules/filter/filter.module Implements hook_filter_info(). 1
filter_formats modules/filter/filter.module Retrieves a list of text formats, ordered by weight. 14 5
filter_formats_reset modules/filter/filter.module Resets the text format caches. 7
filter_format_allowcache modules/filter/filter.module Checks if the text in a certain text format is allowed to be cached. 2
filter_format_disable modules/filter/filter.module Disables a text format. 3
filter_format_exists modules/filter/filter.module Determines if a text format exists. 1
filter_format_load modules/filter/filter.module Loads a text format object from the database. 20
filter_format_save modules/filter/filter.module Saves a text format object to the database. 7
filter_form_access_denied modules/filter/filter.module Render API callback: Hides the field value of 'text_format' elements. 1
filter_get_filters modules/filter/filter.module Returns a list of all filters provided by modules. 7 2
filter_get_formats_by_role modules/filter/filter.module Retrieves a list of text formats that are allowed for a given role. 1
filter_get_roles_by_format modules/filter/filter.module Retrieves a list of roles that are allowed to use a given text format. 4
filter_help modules/filter/filter.module Implements hook_help().
filter_install modules/filter/filter.install Implements hook_install().
filter_list_format modules/filter/filter.module Retrieves a list of filters for a given text format. 8 1
filter_menu modules/filter/filter.module Implements hook_menu().
filter_modules_disabled modules/filter/filter.module Implements hook_modules_disabled().
filter_modules_enabled modules/filter/filter.module Implements hook_modules_enabled().
filter_permission modules/filter/filter.module Implements hook_permission().
filter_permission_name modules/filter/filter.module Returns the machine-readable permission name for a provided text format. 15
filter_process_format modules/filter/filter.module Expands an element into a base element with text format selector attached. 1
filter_schema modules/filter/filter.install Implements hook_schema().
filter_test_filter_format_disable modules/simpletest/tests/filter_test.module Implements hook_filter_format_disable().
filter_test_filter_format_insert modules/simpletest/tests/filter_test.module Implements hook_filter_format_insert().
filter_test_filter_format_update modules/simpletest/tests/filter_test.module Implements hook_filter_format_update().

Other projects


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