UploadedFileConstraint::$maxSize
Same name in other branches
- 10 core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php \Drupal\file\Validation\Constraint\UploadedFileConstraint::maxSize
The upload max size. Defaults to checking the environment.
Type: int|null
File
-
core/
modules/ file/ src/ Validation/ Constraint/ UploadedFileConstraint.php, line 19
Class
- UploadedFileConstraint
- A constraint for UploadedFile objects.
Namespace
Drupal\file\Validation\ConstraintCode
public ?int $maxSize;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.