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