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
drupal_get_filename function includes/bootstrap.inc Returns and optionally sets the filename for a system resource.
drupal_get_filetransfer_info function includes/common.inc Assembles the Drupal FileTransfer registry.
drupal_get_profile function includes/common.inc Gets the name of the currently active installation profile.
drupal_install_fix_file function includes/install.inc Attempts to fix file permissions.
drupal_install_profile_distribution_name function includes/install.inc Loads the installation profile, extracting its defined distribution name.
DRUPAL_MAXIMUM_TEMP_FILE_AGE constant modules/system/system.module Maximum age of temporary files in seconds.
drupal_move_uploaded_file function includes/file.inc Moves an uploaded file to a new location.
drupal_parse_info_file function includes/common.inc Parses Drupal module and theme .info files.
drupal_verify_install_file function includes/install.inc Verifies the state of the specified file.
drupal_verify_profile function includes/install.inc Verifies an installation profile for installation.
EnableDisableTestCase::$profile property modules/system/system.test The profile to install as a basis for testing.
EntityCrudHookTestCase::testFileHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on files.
EntityLoadTestCase::$profile property modules/simpletest/tests/entity_crud.test The profile to install as a basis for testing.
entity_crud_hook_test_file_delete function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_file_delete().
entity_crud_hook_test_file_insert function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_file_insert().
entity_crud_hook_test_file_load function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_file_load().
entity_crud_hook_test_file_presave function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_file_presave().
entity_crud_hook_test_file_update function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_file_update().
example.profile file external_documentation/developer/example.profile
example_profile_details function external_documentation/developer/example.profile Return a description of the profile for the initial installation screen.
example_profile_modules function external_documentation/developer/example.profile Return an array of the modules to be enabled when this profile is installed.
example_profile_tasks function external_documentation/developer/example.profile Perform any final installation tasks for this profile.
example_profile_task_list function external_documentation/developer/example.profile Return a list of tasks that this profile supports.
File interface group includes/file.inc Common file handling functions.
File module public API functions group modules/file/file.module These functions may be used to determine if and where a file is in use.
file.api.php file modules/file/file.api.php Hooks for file module.
file.css file modules/file/file.css Admin stylesheet for file module.
file.field.inc file modules/file/file.field.inc Field module functionality for the File module.
file.inc file includes/file.inc API for handling file uploads and server file management.
file.info file modules/file/file.info name = File
description = Defines a file field type.
package = Core
version = VERSION
core = 7.x
dependencies[] = field
files[] = tests/file.test
file.install file modules/file/file.install Install, update and uninstall functions for File module.
file.mimetypes.inc file includes/file.mimetypes.inc Provides mimetype mappings.
file.module file modules/file/file.module Defines a "managed_file" Form API field and a "file" field for Field module.
file.phar.inc file includes/file.phar.inc
file.test file modules/file/tests/file.test Tests for file.module.
file.test file modules/simpletest/tests/file.test This provides SimpleTests for the core file handling functionality.
These include FileValidateTest and FileSaveTest.
FileCopyTest class modules/simpletest/tests/file.test Copy related tests.
FileCopyTest::getInfo function modules/simpletest/tests/file.test
FileCopyTest::testExistingError function modules/simpletest/tests/file.test Test that copying over an existing file fails when FILE_EXISTS_ERROR is
specified.
FileCopyTest::testExistingRename function modules/simpletest/tests/file.test Test renaming when copying over a file that already exists.
FileCopyTest::testExistingReplace function modules/simpletest/tests/file.test Test replacement when copying over a file that already exists.
FileCopyTest::testNormal function modules/simpletest/tests/file.test Test file copying in the normal, base case.
FileDeleteTest class modules/simpletest/tests/file.test Deletion related tests.
FileDeleteTest::getInfo function modules/simpletest/tests/file.test
FileDeleteTest::testInUse function modules/simpletest/tests/file.test Tries deleting a file that is in use.
FileDeleteTest::testUnused function modules/simpletest/tests/file.test Tries deleting a normal file (as opposed to a directory, symlink, etc).
FileDirectoryTest class modules/simpletest/tests/file.test Directory related tests.
FileDirectoryTest::getInfo function modules/simpletest/tests/file.test
FileDirectoryTest::testFileCheckDirectoryHandling function modules/simpletest/tests/file.test Test directory handling functions.
FileDirectoryTest::testFileCheckLocalDirectoryHandling function modules/simpletest/tests/file.test Test local directory handling functions.

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