hook_filetransfer_info_alter(&$filetransfer_info) Alter the FileTransfer class registry.
hook_file_copy(Drupal\file\FileInterface $file, Drupal\file\FileInterface $source) Respond to a file that has
hook_file_move(Drupal\file\FileInterface $file, Drupal\file\FileInterface $source) Respond to a file that has
hook_filetransfer_info() Register information about FileTransfer classes provided by a module.
hook_file_download($uri) Control access to private file downloads and specify HTTP headers.
hook_archiver_info_alter(&$info) Alter archiver information declared by other modules.
hook_file_validate(Drupal\file\FileInterface $file) Check that files meet a given criteria.
hook_file_mimetype_mapping_alter(&$mapping) Alter MIME type mappings used to determine MIME type from a
hook_file_url_alter(&$uri) Alter the URL to a file. This hook is called