function FileUploadResult::isSecurityRename

Same name and namespace in other branches
  1. 9 core/modules/file/src/Upload/FileUploadResult.php \Drupal\file\Upload\FileUploadResult::isSecurityRename()
  2. 10 core/modules/file/src/Upload/FileUploadResult.php \Drupal\file\Upload\FileUploadResult::isSecurityRename()

Returns if there was a security rename.

Return value

bool

File

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

Class

FileUploadResult
Value object for a file upload result.

Namespace

Drupal\file\Upload

Code

public function isSecurityRename() : bool {
    return $this->securityRename;
}

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