Search for file

  1. Search 7.x for file
  2. Search 9.5.x for file
  3. Search 10.3.x for file
  4. Search 11.x for file
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
File class core/modules/media/src/Plugin/media/Source/File.php File entity media source.
File class core/modules/file/src/Entity/File.php Defines the file entity class.
File class core/modules/file/src/Plugin/views/field/File.php Field handler to provide simple renderer that allows linking to a file.
File class core/modules/file/src/Plugin/views/wizard/File.php Tests creating managed files views with the wizard.
File class core/modules/file/src/Plugin/migrate/source/d6/File.php Drupal 6 file source from database.
File class core/modules/file/src/Plugin/migrate/source/d7/File.php Drupal 7 file source from database.
File class core/lib/Drupal/Core/Render/Element/File.php Provides a form element for uploading a file.

All search results

Title Object type File name Summary
file_create_url function core/includes/file.inc Creates a web-accessible URL for a stream to an external or local file.
file_cron function core/modules/file/file.module Implements hook_cron().
file_default_scheme function core/includes/file.inc Gets the default file stream implementation.
file_delete function core/includes/file.inc Deletes a file and its database record.
file_delete_multiple function core/includes/file.inc Deletes files.
file_destination function core/includes/file.inc Determines the destination path for a file.
file_directory_os_temp function core/includes/file.inc Discovers a writable system-appropriate temporary directory.
file_directory_temp function core/includes/file.inc Gets and sets the path of the configured temporary directory.
file_ensure_htaccess function core/includes/file.inc Creates a .htaccess file in each Drupal files directory if it is missing.
FILE_EXECUTABLE constant core/includes/install.inc File permission check -- File is executable.
FILE_EXIST constant core/includes/install.inc File permission check -- File exists.
FILE_EXISTS_ERROR constant core/includes/file.inc Flag for dealing with existing files: Do nothing and return FALSE.
FILE_EXISTS_RENAME constant core/includes/file.inc Flag for dealing with existing files: Appends number until name is unique.
FILE_EXISTS_REPLACE constant core/includes/file.inc Flag for dealing with existing files: Replace the existing file.
file_field_find_file_reference_column function core/modules/file/file.field.inc Determine whether a field references files stored in {file_managed}.
file_field_views_data function core/modules/file/file.views.inc Implements hook_field_views_data().
file_field_views_data_views_data_alter function core/modules/file/file.views.inc Implements hook_field_views_data_views_data_alter().
file_field_widget_info_alter function core/modules/file/file.module Implements hook_field_widget_info_alter().
file_file_download function core/modules/file/file.module Implements hook_file_download().
file_file_predelete function core/modules/file/file.module Implements hook_ENTITY_TYPE_predelete() for file entities.
file_get_content_headers function core/modules/file/file.module Examines a file entity and returns appropriate content headers for download.
file_get_file_references function core/modules/file/file.module Retrieves a list of references to a file.
file_help function core/modules/file/file.module Implements hook_help().
file_htaccess_lines function core/includes/file.inc Returns the standard .htaccess lines that Drupal writes to file directories.
file_icon_class function core/modules/file/file.module Gets a class for the icon for a MIME type.
file_icon_map function core/modules/file/file.module Determines the generic icon MIME package based on a file's MIME type.
FILE_INSECURE_EXTENSION_REGEX constant core/modules/file/file.module The regex pattern used when checking for insecure file types.
file_load function core/modules/file/file.module Loads a single file entity from the database.
file_load_multiple function core/modules/file/file.module Loads file entities from the database.
file_managed_file_save_upload function core/modules/file/file.module Saves any files that have been uploaded into a managed_file element.
file_managed_file_submit function core/modules/file/file.module Form submission handler for upload / remove buttons of managed_file elements.
FILE_MODIFY_PERMISSIONS constant core/includes/file.inc Flag used to indicate file permissions may be changed.
file_module_test.info.yml file core/modules/file/tests/file_module_test/file_module_test.info.yml core/modules/file/tests/file_module_test/file_module_test.info.yml
file_module_test.routing.yml file core/modules/file/tests/file_module_test/file_module_test.routing.yml core/modules/file/tests/file_module_test/file_module_test.routing.yml
file_move function core/modules/file/file.module Moves a file to a new location and update the file's database entry.
file_munge_filename function core/includes/file.inc Modifies a filename as needed for security purposes.
FILE_NOT_EXECUTABLE constant core/includes/install.inc File permission check -- File is not executable.
FILE_NOT_EXIST constant core/includes/install.inc File permission check -- File does not exist.
FILE_NOT_READABLE constant core/includes/install.inc File permission check -- File is not readable.
FILE_NOT_WRITABLE constant core/includes/install.inc File permission check -- File is not writable.
file_prepare_directory function core/includes/file.inc Checks that the directory exists and is writable.
file_progress_implementation function core/modules/file/file.module Determines the preferred upload progress implementation.
FILE_READABLE constant core/includes/install.inc File permission check -- File is readable.
file_requirements function core/modules/file/file.install Implements hook_requirements().
file_save_data function core/modules/file/file.module Saves a file to the specified destination and creates a database entry.
file_save_htaccess function core/includes/file.inc Creates a .htaccess file in the given directory.
file_save_upload function core/modules/file/file.module Saves file uploads to a new location.
file_scan_directory function core/includes/file.inc Finds all files that match a given mask in a given directory.
file_schema function core/modules/file/file.install Implements hook_schema().
file_settings.yml file core/modules/file/migrations/file_settings.yml core/modules/file/migrations/file_settings.yml

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