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