You are here

public function FileUploadResult::getOriginalFilename in Drupal 10

Gets the original filename.

Return value

string

File

core/modules/file/src/Upload/FileUploadResult.php, line 68

Class

FileUploadResult
Value object for a file upload result.

Namespace

Drupal\file\Upload

Code

public function getOriginalFilename() : string {
  return $this->originalFilename;
}