function FileTransfer::isDirectory
Same name in other branches
- 7.x includes/filetransfer/filetransfer.inc \FileTransfer::isDirectory()
- 9 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
string $path: The path to check
Return value
bool TRUE if the specified path is a directory, FALSE otherwise.
1 call to FileTransfer::isDirectory()
- FileTransfer::copyDirectoryJailed in core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php - Copies a directory.
4 methods override FileTransfer::isDirectory()
- FTPExtension::isDirectory in core/
lib/ Drupal/ Core/ FileTransfer/ FTPExtension.php - Checks if a particular path is a directory.
- Local::isDirectory in core/
lib/ Drupal/ Core/ FileTransfer/ Local.php - Checks if a particular path is a directory.
- SSH::isDirectory in core/
lib/ Drupal/ Core/ FileTransfer/ SSH.php - Implements Drupal\Core\FileTransfer\FileTransfer::isDirectory().
- TestFileTransfer::isDirectory in core/
modules/ system/ tests/ src/ Functional/ FileTransfer/ TestFileTransfer.php - Checks if a particular path is a directory.
File
-
core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php, line 332
Class
- FileTransfer
- Defines the base FileTransfer class.
Namespace
Drupal\Core\FileTransferCode
public abstract function isDirectory($path);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.