You are here

public function FileUploadResult::getSanitizedFilename in Drupal 10

Gets the sanitized filename.

Return value

string

File

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

Class

FileUploadResult
Value object for a file upload result.

Namespace

Drupal\file\Upload

Code

public function getSanitizedFilename() : string {
  return $this->sanitizedFilename;
}