You are here

constant TemporaryJsonapiFileFieldUploader::BYTES_TO_READ in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php \Drupal\jsonapi\Controller\TemporaryJsonapiFileFieldUploader::BYTES_TO_READ
  2. 9 core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php \Drupal\jsonapi\Controller\TemporaryJsonapiFileFieldUploader::BYTES_TO_READ

The amount of bytes to read in each iteration when streaming file data.

File

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

Class

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

Namespace

Drupal\jsonapi\Controller

Code

const BYTES_TO_READ = 8192;