public function UploadController::__construct in Plupload integration 8
Same name and namespace in other branches
- 2.0.x src/UploadController.php \Drupal\plupload\UploadController::__construct()
Constructs plupload upload controller route controller.
Parameters
\Symfony\Component\HttpFoundation\Request $request: Request object.
File
- src/
UploadController.php, line 63
Class
- UploadController
- Plupload upload handling route.
Namespace
Drupal\pluploadCode
public function __construct(Request $request) {
$this->request = $request;
$this->temporaryUploadLocation = \Drupal::config('plupload.settings')
->get('temporary_uri');
$this->htaccessWriter = \Drupal::service('file.htaccess_writer');
$this->fileSystem = \Drupal::service('file_system');
}