UploadedFileValidatorTest::$maxSize

Same name in other branches
  1. 10 core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php \Drupal\Tests\file\Kernel\Validation\UploadedFileValidatorTest::maxSize

The max 4 MB filesize to use for testing.

Type: int

File

core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php, line 51

Class

UploadedFileValidatorTest
Tests the uploaded file validator.

Namespace

Drupal\Tests\file\Kernel\Validation

Code

protected int $maxSize = 4194304;

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