function FileUpload::__construct

Same name and namespace in other branches
  1. 10 core/modules/jsonapi/src/Controller/FileUpload.php \Drupal\jsonapi\Controller\FileUpload::__construct()
  2. 11.x core/modules/jsonapi/src/Controller/FileUpload.php \Drupal\jsonapi\Controller\FileUpload::__construct()
  3. 9 core/modules/jsonapi/src/Controller/FileUpload.php \Drupal\jsonapi\Controller\FileUpload::__construct()
  4. 8.9.x core/modules/jsonapi/src/Controller/FileUpload.php \Drupal\jsonapi\Controller\FileUpload::__construct()

File

core/modules/jsonapi/src/Controller/FileUpload.php, line 63

Class

FileUpload
Handles file upload requests.

Namespace

Drupal\jsonapi\Controller

Code

public function __construct(protected AccountInterface $currentUser, protected EntityFieldManagerInterface $fieldManager, protected FileUploadHandlerInterface $fileUploadHandler, protected HttpKernelInterface $httpKernel, protected InputStreamFileWriterInterface $inputStreamFileWriter, protected FileSystemInterface $fileSystem) {
}

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