final public function FileTransfer::removeFile

Removes a file.

Parameters

string $destination: The destination file to be removed.

1 call to FileTransfer::removeFile()

File

drupal/core/lib/Drupal/Core/FileTransfer/FileTransfer.php, line 202
Definition of Drupal\Core\FileTransfer\FileTransfer.

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

public final function removeFile($destination) {
  $destination = $this
    ->fixRemotePath($destination);
  $this
    ->checkPath($destination);
  $this
    ->removeFileJailed($destination);
}