function FileUploadResult::getViolations
Same name in other branches
- 11.x core/modules/file/src/Upload/FileUploadResult.php \Drupal\file\Upload\FileUploadResult::getViolations()
Gets the constraint violations.
Return value
\Symfony\Component\Validator\ConstraintViolationListInterface The constraint violations.
File
-
core/
modules/ file/ src/ Upload/ FileUploadResult.php, line 177
Class
- FileUploadResult
- Value object for a file upload result.
Namespace
Drupal\file\UploadCode
public function getViolations() : ConstraintViolationListInterface {
return $this->violations;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.