TemporaryJsonapiFileFieldUploader::BYTES_TO_READ

Same name in other branches
  1. 8.9.x core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php \Drupal\jsonapi\Controller\TemporaryJsonapiFileFieldUploader::BYTES_TO_READ
  2. 10 core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php \Drupal\jsonapi\Controller\TemporaryJsonapiFileFieldUploader::BYTES_TO_READ
  3. 11.x 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 60

Class

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

Namespace

Drupal\jsonapi\Controller

Code

const BYTES_TO_READ = 8192;

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