Functions - 7.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
file_build_uri | includes/ |
Constructs a URI to Drupal's default files location given a relative path. | 4 | ||
file_copy | includes/ |
Copies a file to a new location and adds a file record to the database. | 6 | ||
file_create_filename | includes/ |
Creates a full file path from a directory and filename. | 3 | ||
file_create_htaccess | includes/ |
Creates a .htaccess file in the given directory. | 2 | ||
file_create_url | includes/ |
Creates a web-accessible URL for a stream to an external or local file. | 40 | ||
file_default_mimetype_mapping | includes/ |
Default MIME extension mapping. | 1 | ||
file_default_scheme | includes/ |
Gets the default file stream implementation. | 21 | 15 | |
file_delete | includes/ |
Deletes a file and its database record. | 10 | ||
file_destination | includes/ |
Determines the destination path for a file. | 3 | ||
file_directory_temp | includes/ |
Gets the path of system-appropriate temporary directory. | 7 | 2 | |
file_download | includes/ |
Menu handler for private file transfers. | 1 | 1 | |
file_download_access | includes/ |
Checks that the current user has access to a particular file. | 1 | ||
file_download_headers | includes/ |
Retrieves headers for a private file download. | 3 | ||
file_element_info | modules/ |
Implements hook_element_info(). | |||
file_ensure_htaccess | includes/ |
Creates a .htaccess file in each Drupal files directory if it is missing. | 4 | ||
file_field_delete | modules/ |
Implements hook_field_delete(). | 1 | ||
file_field_delete_file | modules/ |
Decrements the usage count for a file and attempts to delete it. | 5 | ||
file_field_delete_revision | modules/ |
Implements hook_field_delete_revision(). | 1 | ||
file_field_displayed | modules/ |
Determines whether a file should be displayed when outputting field content. | 1 | ||
file_field_formatter_info | modules/ |
Implements hook_field_formatter_info(). | |||
file_field_formatter_view | modules/ |
Implements hook_field_formatter_view(). | |||
file_field_info | modules/ |
Implements hook_field_info(). | |||
file_field_insert | modules/ |
Implements hook_field_insert(). | 1 | ||
file_field_instance_settings_form | modules/ |
Implements hook_field_instance_settings_form(). | 1 | ||
file_field_is_empty | modules/ |
Implements hook_field_is_empty(). | 1 | ||
file_field_load | modules/ |
Implements hook_field_load(). | 1 | ||
file_field_prepare_view | modules/ |
Implements hook_field_prepare_view(). | |||
file_field_presave | modules/ |
Implements hook_field_presave(). | 1 | ||
file_field_schema | modules/ |
Implements hook_field_schema(). | |||
file_field_settings_form | modules/ |
Implements hook_field_settings_form(). | |||
file_field_update | modules/ |
Implements hook_field_update(). | 1 | ||
file_field_widget_form | modules/ |
Implements hook_field_widget_form(). | 1 | ||
file_field_widget_info | modules/ |
Implements hook_field_widget_info(). | |||
file_field_widget_process | modules/ |
An element #process callback for the file_generic field type. | 1 | ||
file_field_widget_process_multiple | modules/ |
An element #process callback for a group of file_generic fields. | 1 | ||
file_field_widget_settings_form | modules/ |
Implements hook_field_widget_settings_form(). | 1 | ||
file_field_widget_submit | modules/ |
Form submission handler for upload/remove button of file_field_widget_form(). | 1 | ||
file_field_widget_upload_validators | modules/ |
Retrieves the upload validators for a file field. | 1 | ||
file_field_widget_uri | modules/ |
Determines the URI for a file field instance. | 1 | ||
file_field_widget_value | modules/ |
The #value_callback for the file_generic field element. | 1 | ||
file_file_delete | modules/ |
Implements hook_file_delete(). | |||
file_file_download | modules/ |
Implements hook_file_download(). | 1 | ||
file_get_content_headers | includes/ |
Examines a file object and returns appropriate content headers for download. | 1 | ||
file_get_file_references | modules/ |
Retrieves a list of references to a file. | 1 | ||
file_get_mimetype | includes/ |
Determines an Internet Media Type or MIME type from a filename. | 7 | ||
file_get_stream_wrappers | includes/ |
Provides Drupal stream wrapper registry. | 8 | 2 | |
file_help | modules/ |
Implements hook_help(). | |||
file_htaccess_lines | includes/ |
Returns the standard .htaccess lines that Drupal writes to file directories. | 2 | ||
file_icon_map | modules/ |
Determines the generic icon MIME package based on a file's MIME type. | 1 | ||
file_icon_path | modules/ |
Creates a path to the icon for a file object. | 1 |
Pagination
- Previous page
- Page 25
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.