public function UploadHandlerInterface::getFilename in DropzoneJS 8.2
Same name and namespace in other branches
- 8 src/UploadHandlerInterface.php \Drupal\dropzonejs\UploadHandlerInterface::getFilename()
Reads, checks and return filename of a file being uploaded.
Parameters
\Symfony\Component\HttpFoundation\File\UploadedFile $file: An instance of UploadedFile.
Return value
string The sanitized filename.
Throws
\Drupal\dropzonejs\UploadException
1 method overrides UploadHandlerInterface::getFilename()
- UploadHandler::getFilename in src/
UploadHandler.php - Reads, checks and return filename of a file being uploaded.
File
- src/
UploadHandlerInterface.php, line 23
Class
- UploadHandlerInterface
- Interface UploadHandlerInterface.
Namespace
Drupal\dropzonejsCode
public function getFilename(UploadedFile $file);