You are here

protected property FileUploadSanitizeNameEvent::$isSecurityRename 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::isSecurityRename

Indicates the filename has changed for security reasons.

Type: bool

File

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

Class

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

Namespace

Drupal\Core\File\Event

Code

protected $isSecurityRename = FALSE;