function FileTransfer::removeDirectory
Same name in other branches
- 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::removeDirectory()
- 8.9.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::removeDirectory()
- 10 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::removeDirectory()
- 11.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::removeDirectory()
Removes a directory.
Parameters
$directory: The directory to be removed.
1 call to FileTransfer::removeDirectory()
- FileTransferFTPExtension::removeDirectoryJailed in includes/
filetransfer/ ftp.inc - Removes a directory.
File
-
includes/
filetransfer/ filetransfer.inc, line 120
Class
Code
public final function removeDirectory($directory) {
$directory = $this->fixRemotePath($directory);
$this->checkPath($directory);
$this->removeDirectoryJailed($directory);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.