You are here

protected property FileUploadSanitizeNameEvent::$filename in Drupal 9

The name of the file being uploaded.

Type: string

File

core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php, line 21

Class

FileUploadSanitizeNameEvent
An event during file upload that lets subscribers sanitize the filename.

Namespace

Drupal\Core\File\Event

Code

protected $filename = '';