UploadedFileConstraint::$uploadFormSizeErrorMessage
Same name in other branches
- 10 core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php \Drupal\file\Validation\Constraint\UploadedFileConstraint::uploadFormSizeErrorMessage
The upload form size error message.
Type: string
File
-
core/
modules/ file/ src/ Validation/ Constraint/ UploadedFileConstraint.php, line 33
Class
- UploadedFileConstraint
- A constraint for UploadedFile objects.
Namespace
Drupal\file\Validation\ConstraintCode
public string $uploadFormSizeErrorMessage = 'The file %file could not be saved because it exceeds %maxsize, the maximum allowed size for uploads.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.