function FileTransfer::removeDirectoryJailed

Same name in other branches
  1. 7.x includes/filetransfer/filetransfer.inc \FileTransfer::removeDirectoryJailed()
  2. 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::removeDirectoryJailed()
  3. 8.9.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::removeDirectoryJailed()
  4. 11.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::removeDirectoryJailed()

Removes a directory.

Parameters

string $directory: The directory to be removed.

1 call to FileTransfer::removeDirectoryJailed()
FileTransfer::removeDirectory in core/lib/Drupal/Core/FileTransfer/FileTransfer.php
Removes a directory.
4 methods override FileTransfer::removeDirectoryJailed()
FTPExtension::removeDirectoryJailed in core/lib/Drupal/Core/FileTransfer/FTPExtension.php
Removes a directory.
Local::removeDirectoryJailed in core/lib/Drupal/Core/FileTransfer/Local.php
Removes a directory.
SSH::removeDirectoryJailed in core/lib/Drupal/Core/FileTransfer/SSH.php
Removes a directory.
TestFileTransfer::removeDirectoryJailed in core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php
Removes a directory.

File

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

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

protected abstract function removeDirectoryJailed($directory);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.