function FileUploadResult::getSanitizedFilename
Same name in other branches
- 9 core/modules/file/src/Upload/FileUploadResult.php \Drupal\file\Upload\FileUploadResult::getSanitizedFilename()
- 10 core/modules/file/src/Upload/FileUploadResult.php \Drupal\file\Upload\FileUploadResult::getSanitizedFilename()
Gets the sanitized filename.
Return value
string
File
-
core/
modules/ file/ src/ Upload/ FileUploadResult.php, line 138
Class
- FileUploadResult
- Value object for a file upload result.
Namespace
Drupal\file\UploadCode
public function getSanitizedFilename() : string {
return $this->sanitizedFilename;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.