protected property FileUploadSanitizeNameEvent::$allowedExtensions in Drupal 10
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php \Drupal\Core\File\Event\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\EventCode
protected $allowedExtensions = [];