You are here

public function FileUploadResult::isSecurityRename in Drupal 10

Returns if there was a security rename.

Return value

bool

File

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

Class

FileUploadResult
Value object for a file upload result.

Namespace

Drupal\file\Upload

Code

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