FileTransfer::removeDirectory

public final FileTransfer::removeDirectory($directory)

Removes a directory.

Parameters

string $directory: The directory to be removed.

File

core/lib/Drupal/Core/FileTransfer/FileTransfer.php, line 167

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

public final function removeDirectory($directory) {
  $directory = $this->fixRemotePath($directory);
  $this->checkPath($directory);
  $this->removeDirectoryJailed($directory);
}
doc_Drupal
2016-10-29 09:14:01
Comments
Leave a Comment

Please login to continue.