FileUploadResult::$securityRename

Same name in other branches
  1. 10 core/modules/file/src/Upload/FileUploadResult.php \Drupal\file\Upload\FileUploadResult::securityRename
  2. 11.x core/modules/file/src/Upload/FileUploadResult.php \Drupal\file\Upload\FileUploadResult::securityRename

If the filename was renamed for security reasons.

Type: bool

File

core/modules/file/src/Upload/FileUploadResult.php, line 17

Class

FileUploadResult
Value object for a file upload result.

Namespace

Drupal\file\Upload

Code

protected $securityRename = FALSE;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.