public function FileValidationException::getFilename in Drupal 10
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;
}