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
FileValidatorTest::$image property modules/simpletest/tests/file.test
FileValidatorTest::$non_image property modules/simpletest/tests/file.test
FileValidatorTest::getInfo function modules/simpletest/tests/file.test
FileValidatorTest::setUp function modules/simpletest/tests/file.test Sets up a Drupal site for running functional and integration tests.
FileValidatorTest::testFileValidateExtensions function modules/simpletest/tests/file.test Test the file_validate_extensions() function.
FileValidatorTest::testFileValidateImageResolution function modules/simpletest/tests/file.test This ensures the resolution of a specific file is within bounds.
The image will be resized if it's too large.
FileValidatorTest::testFileValidateIsImage function modules/simpletest/tests/file.test This ensures a specific file is actually an image.
FileValidatorTest::testFileValidateNameLength function modules/simpletest/tests/file.test This will ensure the filename length is valid.
FileValidatorTest::testFileValidateSize function modules/simpletest/tests/file.test Test file_validate_size().
file_ajax_progress function modules/file/file.module Menu callback for upload progress.
file_ajax_upload function modules/file/file.module Menu callback; Shared Ajax callback for file uploads and deletions.
file_build_uri function includes/file.inc Constructs a URI to Drupal's default files location given a relative path.
file_copy function includes/file.inc Copies a file to a new location and adds a file record to the database.
FILE_CREATE_DIRECTORY constant includes/file.inc Flag used by file_prepare_directory() -- create directory if not present.
file_create_filename function includes/file.inc Creates a full file path from a directory and filename.
file_create_htaccess function includes/file.inc Creates a .htaccess file in the given directory.
file_create_url function includes/file.inc Creates a web-accessible URL for a stream to an external or local file.
file_default_mimetype_mapping function includes/file.mimetypes.inc Default MIME extension mapping.
file_default_scheme function includes/file.inc Gets the default file stream implementation.
file_delete function includes/file.inc Deletes a file and its database record.
file_destination function includes/file.inc Determines the destination path for a file.
file_directory_temp function includes/file.inc Gets the path of system-appropriate temporary directory.
file_download function includes/file.inc Menu handler for private file transfers.
file_download_access function includes/file.inc Checks that the current user has access to a particular file.
file_download_headers function includes/file.inc Retrieves headers for a private file download.
file_element_info function modules/file/file.module Implements hook_element_info().
file_ensure_htaccess function includes/file.inc Creates a .htaccess file in each Drupal files directory if it is missing.
FILE_EXECUTABLE constant includes/install.inc File permission check -- File is executable.
FILE_EXIST constant includes/install.inc File permission check -- File exists.
FILE_EXISTS_ERROR constant includes/file.inc Flag for dealing with existing files: Do nothing and return FALSE.
FILE_EXISTS_RENAME constant includes/file.inc Flag for dealing with existing files: Appends number until name is unique.
FILE_EXISTS_REPLACE constant includes/file.inc Flag for dealing with existing files: Replace the existing file.
file_field_delete function modules/file/file.field.inc Implements hook_field_delete().
file_field_delete_file function modules/file/file.field.inc Decrements the usage count for a file and attempts to delete it.
file_field_delete_revision function modules/file/file.field.inc Implements hook_field_delete_revision().
file_field_displayed function modules/file/file.field.inc Determines whether a file should be displayed when outputting field content.
file_field_formatter_info function modules/file/file.field.inc Implements hook_field_formatter_info().
file_field_formatter_view function modules/file/file.field.inc Implements hook_field_formatter_view().
file_field_info function modules/file/file.field.inc Implements hook_field_info().
file_field_insert function modules/file/file.field.inc Implements hook_field_insert().
file_field_instance_settings_form function modules/file/file.field.inc Implements hook_field_instance_settings_form().
file_field_is_empty function modules/file/file.field.inc Implements hook_field_is_empty().
file_field_load function modules/file/file.field.inc Implements hook_field_load().
file_field_prepare_view function modules/file/file.field.inc Implements hook_field_prepare_view().
file_field_presave function modules/file/file.field.inc Implements hook_field_presave().
file_field_schema function modules/file/file.install Implements hook_field_schema().
file_field_settings_form function modules/file/file.field.inc Implements hook_field_settings_form().
file_field_update function modules/file/file.field.inc Implements hook_field_update().
file_field_widget_form function modules/file/file.field.inc Implements hook_field_widget_form().
file_field_widget_info function modules/file/file.field.inc Implements hook_field_widget_info().

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