public function FileUploadSanitizeNameEvent::getFilename in Drupal 9
Gets the filename.
Return value
string The filename.
File
- core/
lib/ Drupal/ Core/ File/ Event/ FileUploadSanitizeNameEvent.php, line 58
Class
- FileUploadSanitizeNameEvent
- An event during file upload that lets subscribers sanitize the filename.
Namespace
Drupal\Core\File\EventCode
public function getFilename() : string {
return $this->filename;
}