You are here

public function UploadHandlerInterface::handleUpload in DropzoneJS 8.2

Same name and namespace in other branches
  1. 8 src/UploadHandlerInterface.php \Drupal\dropzonejs\UploadHandlerInterface::handleUpload()

Handles an uploaded file.

Parameters

\Symfony\Component\HttpFoundation\File\UploadedFile $file: The uploaded file.

Return value

string URI of the uploaded file.

Throws

\Drupal\dropzonejs\UploadException

1 method overrides UploadHandlerInterface::handleUpload()
UploadHandler::handleUpload in src/UploadHandler.php
Handles an uploaded file.

File

src/UploadHandlerInterface.php, line 36

Class

UploadHandlerInterface
Interface UploadHandlerInterface.

Namespace

Drupal\dropzonejs

Code

public function handleUpload(UploadedFile $file);