function FileTransfer::isDirectory
Same name in other branches
- 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::isDirectory()
- 8.9.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::isDirectory()
- 10 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::isDirectory()
- 11.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::isDirectory()
Checks if a particular path is a directory
Parameters
$path: The path to check
Return value
boolean
1 call to FileTransfer::isDirectory()
- FileTransfer::copyDirectoryJailed in includes/
filetransfer/ filetransfer.inc - Copies a directory.
4 methods override FileTransfer::isDirectory()
- FileTransferFTPExtension::isDirectory in includes/
filetransfer/ ftp.inc - Checks if a particular path is a directory
- FileTransferLocal::isDirectory in includes/
filetransfer/ local.inc - Checks if a particular path is a directory
- FileTransferSSH::isDirectory in includes/
filetransfer/ ssh.inc - WARNING: This is untested. It is not currently used, but should do the trick.
- TestFileTransfer::isDirectory in modules/
simpletest/ tests/ filetransfer.test - Checks if a particular path is a directory
File
-
includes/
filetransfer/ filetransfer.inc, line 272
Class
Code
public abstract function isDirectory($path);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.