FileUploadResult::$violations

Same name in other branches
  1. 10 core/modules/file/src/Upload/FileUploadResult.php \Drupal\file\Upload\FileUploadResult::violations

The constraint violations.

Type: \Symfony\Component\Validator\ConstraintViolationListInterface

File

core/modules/file/src/Upload/FileUploadResult.php, line 48

Class

FileUploadResult
Value object for a file upload result.

Namespace

Drupal\file\Upload

Code

protected ConstraintViolationListInterface $violations;

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