Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
FileUploadSanitizeNameEvent.php
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 =
''
;
RSS feed