Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
FileUploadSanitizeNameEvent.php
FileUploadSanitizeNameEvent::$allowedExtensions
A list of allowed extensions.
Type:
string[]
File
core/
lib/
Drupal/
Core/
File/
Event/
FileUploadSanitizeNameEvent.php
, line 28
Class
FileUploadSanitizeNameEvent
An event during file upload that lets subscribers sanitize the filename.
Namespace
Drupal\Core\File\Event
Code
protected $allowedExtensions = [];
RSS feed