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_validate_name_length function includes/file.inc Checks for files with names longer than we can store in the database.
file_validate_size function includes/file.inc Checks that the file's size is below certain limits.
file_valid_uri function includes/file.inc Determines whether the URI has a valid scheme for file API operations.
FILE_WRITABLE constant includes/install.inc File permission check -- File is writable.
FilterSettingsTestCase::$profile property modules/filter/filter.test The installation profile to use with this test class.
FormElementTestCase::$profile property modules/simpletest/tests/form.test The profile to install as a basis for testing.
FormsFileInclusionTestCase class modules/simpletest/tests/form.test Tests form API file inclusion.
FormsFileInclusionTestCase::getInfo function modules/simpletest/tests/form.test
FormsFileInclusionTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsFileInclusionTestCase::testLoadCustomInclude function modules/simpletest/tests/form.test Tests loading a custom specified inlcude.
FormsFileInclusionTestCase::testLoadMenuInclude function modules/simpletest/tests/form.test Tests loading an include specified in hook_menu().
FormsFormStoragePageCacheTestCase::$profile property modules/simpletest/tests/form.test The profile to install as a basis for testing.
form_test.file.inc file modules/simpletest/tests/form_test.file.inc An include file to test loading it with the form API.
Helper::determineBaseFile function misc/typo3/phar-stream-wrapper/src/Helper.php Determines base file that can be accessed using the regular file system.
For e.g. "phar:///home/user/bundle.phar/content.txt" that would result
into "/home/user/bundle.phar".
hook_filetransfer_info function modules/system/system.api.php Register information about FileTransfer classes provided by a module.
hook_filetransfer_info_alter function modules/system/system.api.php Alter the FileTransfer class registry.
hook_file_copy function modules/system/system.api.php Respond to a file that has been copied.
hook_file_delete function modules/system/system.api.php Respond to a file being deleted.
hook_file_download function modules/system/system.api.php Control access to private file downloads and specify HTTP headers.
hook_file_download_access function modules/file/file.api.php Control download access to files.
hook_file_download_access_alter function modules/file/file.api.php Alter the access rules applied to a file download.
hook_file_insert function modules/system/system.api.php Respond to a file being added.
hook_file_load function modules/system/system.api.php Load additional information into file objects.
hook_file_mimetype_mapping_alter function modules/system/system.api.php Alter MIME type mappings used to determine MIME type from a file extension.
hook_file_move function modules/system/system.api.php Respond to a file that has been moved.
hook_file_presave function modules/system/system.api.php Act on a file being inserted or updated.
hook_file_update function modules/system/system.api.php Respond to a file being updated.
hook_file_url_alter function modules/system/system.api.php Alter the URL to a file.
hook_file_validate function modules/system/system.api.php Check that files meet a given criteria.
hook_registry_files_alter function modules/system/system.api.php Perform necessary alterations to the list of files parsed by the registry.
HtaccessTest::assertFileAccess function modules/system/system.test Asserts that a file exists and requesting it returns a specific response.
HtaccessTest::getProtectedFiles function modules/system/system.test Get an array of file paths for access testing.
HtaccessTest::testFileAccess function modules/system/system.test Iterates over protected files and calls assertNoFileAccess().
ImageFileMoveTest class modules/simpletest/tests/image.test Tests the file move function for managed files.
ImageFileMoveTest::getInfo function modules/simpletest/tests/image.test
ImageFileMoveTest::testNormal function modules/simpletest/tests/image.test Tests moving a randomly generated image.
ImageStylesPathAndUrlTestCase::$image_filepath property modules/image/image.test
ImageToolkitTestCase::$file property modules/simpletest/tests/image.test
image_file_delete function modules/image/image.module Implements hook_file_delete().
image_file_download function modules/image/image.module Implements hook_file_download().
image_file_move function modules/image/image.module Implements hook_file_move().
image_form_system_file_system_settings_alter function modules/image/image.module Implements hook_form_FORM_ID_alter().
image_module_test_file_download function modules/image/tests/image_module_test.module @file
Provides Image module hook implementations for testing purposes.
image_system_file_system_settings_submit function modules/image/image.module Form submission handler for system_file_system_settings().
InfoFileParserTestCase class modules/system/system.test
InfoFileParserTestCase::getInfo function modules/system/system.test
InfoFileParserTestCase::testDrupalParseInfoFormat function modules/system/system.test Test drupal_parse_info_format().
install_find_profiles function includes/install.core.inc Finds all .profile files.
install_load_profile function includes/install.core.inc Loads information about the chosen profile during installation.
install_no_profile_error function includes/install.core.inc Indicates that there are no profiles available.

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