file.field.inc

Field module functionality for the File module.

File

modules/file/file.field.inc

Functions

Name Description
file_field_delete Implements hook_field_delete().
file_field_delete_file Decrements the usage count for a file and attempts to delete it.
file_field_delete_revision Implements hook_field_delete_revision().
file_field_displayed Determines whether a file should be displayed when outputting field content.
file_field_formatter_info Implements hook_field_formatter_info().
file_field_formatter_view Implements hook_field_formatter_view().
file_field_info Implements hook_field_info().
file_field_insert Implements hook_field_insert().
file_field_instance_settings_form Implements hook_field_instance_settings_form().
file_field_is_empty Implements hook_field_is_empty().
file_field_load Implements hook_field_load().
file_field_prepare_view Implements hook_field_prepare_view().
file_field_presave Implements hook_field_presave().
file_field_settings_form Implements hook_field_settings_form().
file_field_update Implements hook_field_update().
file_field_widget_form Implements hook_field_widget_form().
file_field_widget_info Implements hook_field_widget_info().
file_field_widget_process An element #process callback for the file_generic field type.
file_field_widget_process_multiple An element #process callback for a group of file_generic fields.
file_field_widget_settings_form Implements hook_field_widget_settings_form().
file_field_widget_submit Form submission handler for upload/remove button of file_field_widget_form().
file_field_widget_upload_validators Retrieves the upload validators for a file field.
file_field_widget_uri Determines the URI for a file field instance.
file_field_widget_value The #value_callback for the file_generic field element.
theme_file_formatter_table Returns HTML for a file attachments table.
theme_file_upload_help Returns HTML for help text based on file upload validators.
theme_file_widget Returns HTML for an individual file upload widget.
theme_file_widget_multiple Returns HTML for a group of file upload widgets.
_file_field_get_description_from_element Retrieves the file description from a field field element.
_file_generic_settings_extensions Element validate callback for the allowed file extensions field.
_file_generic_settings_file_directory_validate Element validate callback for the file destination field.
_file_generic_settings_max_filesize Element validate callback for the maximum upload size field.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!file!file.field.inc/7.x