UploadedFileConstraint::$uploadPartialErrorMessage

Same name in other branches
  1. 11.x core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php \Drupal\file\Validation\Constraint\UploadedFileConstraint::uploadPartialErrorMessage

The upload partial error message.

Type: string

File

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

Class

UploadedFileConstraint
A constraint for UploadedFile objects.

Namespace

Drupal\file\Validation\Constraint

Code

public string $uploadPartialErrorMessage = 'The file %file could not be saved because the upload did not complete.';

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