TemporaryJsonapiFileFieldUploader::$fileValidator

Same name in other branches
  1. 10 core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php \Drupal\jsonapi\Controller\TemporaryJsonapiFileFieldUploader::fileValidator

The file validator.

Type: \Drupal\file\Validation\FileValidatorInterface

File

core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php, line 129

Class

TemporaryJsonapiFileFieldUploader
Reads data from an upload stream and creates a corresponding file entity.

Namespace

Drupal\jsonapi\Controller

Code

protected FileValidatorInterface $fileValidator;

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