namespace Drupal\file\Upload

Same name in other branches
  1. 9 Drupal\file\Upload
  2. 11.x Drupal\file\Upload
Object name File name Summary
ContentDispositionFilenameParser core/modules/file/src/Upload/ContentDispositionFilenameParser.php Parses the content-disposition header to extract the client filename.
FileUploadHandler core/modules/file/src/Upload/FileUploadHandler.php Handles validating and creating file entities from file uploads.
FileUploadLocationTrait core/modules/file/src/Upload/FileUploadLocationTrait.php Resolves the file upload location from a file field definition.
FileUploadResult core/modules/file/src/Upload/FileUploadResult.php Value object for a file upload result.
FileValidationException core/modules/file/src/Upload/FileValidationException.php Provides an exception for upload validation errors.
FormUploadedFile core/modules/file/src/Upload/FormUploadedFile.php Provides a bridge to Symfony UploadedFile.
InputStreamFileWriter core/modules/file/src/Upload/InputStreamFileWriter.php Writes files from a input stream to a temporary file.
InputStreamFileWriterInterface core/modules/file/src/Upload/InputStreamFileWriterInterface.php Uploads files from a stream.
InputStreamUploadedFile core/modules/file/src/Upload/InputStreamUploadedFile.php An uploaded file from an input stream.
UploadedFileInterface core/modules/file/src/Upload/UploadedFileInterface.php Provides an interface for uploaded files.

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