Search for file

  1. Search 9.5.x for file
  2. Search 8.9.x for file
  3. Search 10.3.x for file
  4. Search 11.x for file
  5. Other projects
Title Object type File name Summary
file_field_widget_process function modules/file/file.field.inc An element #process callback for the file_generic field type.
file_field_widget_process_multiple function modules/file/file.field.inc An element #process callback for a group of file_generic fields.
file_field_widget_settings_form function modules/file/file.field.inc Implements hook_field_widget_settings_form().
file_field_widget_submit function modules/file/file.field.inc Form submission handler for upload/remove button of file_field_widget_form().
file_field_widget_upload_validators function modules/file/file.field.inc Retrieves the upload validators for a file field.
file_field_widget_uri function modules/file/file.field.inc Determines the URI for a file field instance.
file_field_widget_value function modules/file/file.field.inc The #value_callback for the file_generic field element.
file_file_delete function modules/file/file.module Implements hook_file_delete().
file_file_download function modules/file/file.module Implements hook_file_download().
file_get_content_headers function includes/file.inc Examines a file object and returns appropriate content headers for download.
file_get_file_references function modules/file/file.module Retrieves a list of references to a file.
file_get_mimetype function includes/file.inc Determines an Internet Media Type or MIME type from a filename.
file_get_stream_wrappers function includes/file.inc Provides Drupal stream wrapper registry.
file_help function modules/file/file.module Implements hook_help().
file_htaccess_lines function includes/file.inc Returns the standard .htaccess lines that Drupal writes to file directories.
file_icon_map function modules/file/file.module Determines the generic icon MIME package based on a file's MIME type.
file_icon_path function modules/file/file.module Creates a path to the icon for a file object.
file_icon_url function modules/file/file.module Creates a URL to the icon for a file object.
FILE_INSECURE_EXTENSIONS constant includes/file.inc A pipe-separated list of insecure extensions.
file_load function includes/file.inc Loads a single file object from the database.
file_load_multiple function includes/file.inc Loads file objects from the database.
file_managed_file_pre_render function modules/file/file.module #pre_render callback to hide display of the upload or remove controls.
file_managed_file_process function modules/file/file.module Process function to expand the managed_file element type.
file_managed_file_save_upload function modules/file/file.module Saves any files that have been uploaded into a managed_file element.
file_managed_file_submit function modules/file/file.module Form submission handler for upload / remove buttons of managed_file elements.
file_managed_file_validate function modules/file/file.module An #element_validate callback for the managed_file element.
file_managed_file_value function modules/file/file.module The #value_callback for a managed_file type element.
file_menu function modules/file/file.module Implements hook_menu().
file_mimetype_mapping function includes/file.mimetypes.inc Return an array of MIME extension mappings.
FILE_MODIFY_PERMISSIONS constant includes/file.inc Flag used by file_prepare_directory() -- file permissions may be changed.
file_module_test.info file modules/file/tests/file_module_test.info name = File test
description = Provides hooks for testing File module functionality.
package = Core
version = VERSION
core = 7.x
hidden = TRUE
file_module_test.module file modules/file/tests/file_module_test.module Provides File module pages for testing purposes.
file_module_test_file_download function modules/file/tests/file_module_test.module Implements hook_file_download().
file_module_test_form function modules/file/tests/file_module_test.module Form constructor for testing a 'managed_file' element.
file_module_test_form_submit function modules/file/tests/file_module_test.module Form submission handler for file_module_test_form().
file_module_test_menu function modules/file/tests/file_module_test.module Implements hook_menu().
file_move function includes/file.inc Moves a file to a new location and update the file's database entry.
file_munge_filename function includes/file.inc Modifies a filename as needed for security purposes.
FILE_NOT_EXECUTABLE constant includes/install.inc File permission check -- File is not executable.
FILE_NOT_EXIST constant includes/install.inc File permission check -- File does not exist.
FILE_NOT_READABLE constant includes/install.inc File permission check -- File is not readable.
FILE_NOT_WRITABLE constant includes/install.inc File permission check -- File is not writable.
file_prepare_directory function includes/file.inc Checks that the directory exists and is writable.
file_progress_implementation function modules/file/file.module Determines the preferred upload progress implementation.
FILE_READABLE constant includes/install.inc File permission check -- File is readable.
file_register_phar_wrapper function includes/file.phar.inc Registers a phar stream wrapper that is more secure than PHP's built-in one.
file_requirements function modules/file/file.install Implements hook_requirements().
file_save function includes/file.inc Saves a file object to the database.
file_save_data function includes/file.inc Saves a file to the specified destination and creates a database entry.
file_save_upload function includes/file.inc Saves a file upload to a new location.

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