UploadedFileConstraint::$uploadIniSizeErrorMessage

Same name in other branches
  1. 10 core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php \Drupal\file\Validation\Constraint\UploadedFileConstraint::uploadIniSizeErrorMessage

The upload ini size error message.

Type: string

File

core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php, line 26

Class

UploadedFileConstraint
A constraint for UploadedFile objects.

Namespace

Drupal\file\Validation\Constraint

Code

public string $uploadIniSizeErrorMessage = '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.