function FileValidationException::getErrors
Same name in other branches
- 9 core/modules/file/src/Upload/FileValidationException.php \Drupal\file\Upload\FileValidationException::getErrors()
- 11.x core/modules/file/src/Upload/FileValidationException.php \Drupal\file\Upload\FileValidationException::getErrors()
Gets the errors.
Return value
array The errors.
File
-
core/
modules/ file/ src/ Upload/ FileValidationException.php, line 56
Class
- FileValidationException
- Provides an exception for upload validation errors.
Namespace
Drupal\file\UploadCode
public function getErrors() : array {
return $this->errors;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.