Search for all

  1. Search 9.5.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
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.
file_scan_directory function includes/file.inc Finds all files that match a given mask in a given directory.
file_space_used function includes/file.inc Determines total disk space used by a single user or the whole filesystem.
FILE_STATUS_PERMANENT constant includes/file.inc Indicates that the file is permanent and should not be deleted.
file_stream_wrapper_get_class function includes/file.inc Returns the stream wrapper class name for a given scheme.
file_stream_wrapper_get_instance_by_scheme function includes/file.inc Returns a reference to the stream wrapper class responsible for a scheme.
file_stream_wrapper_get_instance_by_uri function includes/file.inc Returns a reference to the stream wrapper class responsible for a given URI.
file_stream_wrapper_uri_normalize function includes/file.inc Normalizes a URI by making it syntactically correct.
file_stream_wrapper_valid_scheme function includes/file.inc Checks that the scheme of a stream URI is valid.
file_test.info file modules/simpletest/tests/file_test.info name = "File test"
description = "Support module for file handling tests."
package = Testing
version = VERSION
core = 7.x
files[] = file_test.module
hidden = TRUE
file_test.module file modules/simpletest/tests/file_test.module Helper module for the file tests.
file_test_file_copy function modules/simpletest/tests/file_test.module Implements hook_file_copy().
file_test_file_delete function modules/simpletest/tests/file_test.module Implements hook_file_delete().
file_test_file_download function modules/simpletest/tests/file_test.module Implements hook_file_download().
file_test_file_insert function modules/simpletest/tests/file_test.module Implements hook_file_insert().
file_test_file_load function modules/simpletest/tests/file_test.module Implements hook_file_load().
file_test_file_mimetype_mapping_alter function modules/simpletest/tests/file_test.module Implements hook_file_mimetype_mapping_alter().
file_test_file_move function modules/simpletest/tests/file_test.module Implements hook_file_move().
file_test_file_scan_callback function modules/simpletest/tests/file.test Helper function for testing file_scan_directory().
file_test_file_scan_callback_reset function modules/simpletest/tests/file.test Reset static variables used by file_test_file_scan_callback().
file_test_file_update function modules/simpletest/tests/file_test.module Implements hook_file_update().

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