function TestFileTransfer::removeDirectoryJailed
Same name in other branches
- 7.x modules/simpletest/tests/filetransfer.test \TestFileTransfer::removeDirectoryJailed()
- 9 core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php \Drupal\Tests\system\Functional\FileTransfer\TestFileTransfer::removeDirectoryJailed()
- 10 core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php \Drupal\Tests\system\Functional\FileTransfer\TestFileTransfer::removeDirectoryJailed()
- 11.x core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php \Drupal\Tests\system\Functional\FileTransfer\TestFileTransfer::removeDirectoryJailed()
Overrides FileTransfer::removeDirectoryJailed
File
-
core/
modules/ system/ tests/ src/ Functional/ FileTransfer/ TestFileTransfer.php, line 41
Class
- TestFileTransfer
- Mock FileTransfer object for test case.
Namespace
Drupal\Tests\system\Functional\FileTransferCode
protected function removeDirectoryJailed($directory) {
$this->connection
->run("rmdir {$directory}");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.