function FileTransfer::createDirectoryJailed

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

Creates a directory.

Parameters

string $directory: The directory to be created.

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

File

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

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

protected abstract function createDirectoryJailed($directory);

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