function FileValidationException::getErrors

Same name in other branches
  1. 10 core/modules/file/src/Upload/FileValidationException.php \Drupal\file\Upload\FileValidationException::getErrors()
  2. 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\Upload

Code

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.