function FileUploadResult::getOriginalFilename

Same name in other branches
  1. 9 core/modules/file/src/Upload/FileUploadResult.php \Drupal\file\Upload\FileUploadResult::getOriginalFilename()
  2. 10 core/modules/file/src/Upload/FileUploadResult.php \Drupal\file\Upload\FileUploadResult::getOriginalFilename()

Gets the original filename.

Return value

string

File

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

Class

FileUploadResult
Value object for a file upload result.

Namespace

Drupal\file\Upload

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.