final public function FileTransfer::removeDirectory in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::removeDirectory()
- 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::removeDirectory()
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\FileTransferCode
public final function removeDirectory($directory) {
$directory = $this
->fixRemotePath($directory);
$this
->checkPath($directory);
$this
->removeDirectoryJailed($directory);
}