function FormUploadedFile::getClientOriginalName

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

Overrides UploadedFileInterface::getClientOriginalName

File

core/modules/file/src/Upload/FormUploadedFile.php, line 35

Class

FormUploadedFile
Provides a bridge to Symfony UploadedFile.

Namespace

Drupal\file\Upload

Code

public function getClientOriginalName() : string {
    return $this->uploadedFile
        ->getClientOriginalName();
}

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