You are here

protected property FileUploadSanitizeNameEvent::$filename in Drupal 10

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php \Drupal\Core\File\Event\FileUploadSanitizeNameEvent::filename

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 = '';