You are here

abstract public function FileTransfer::isDirectory in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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/src/Tests/FileTransfer/TestFileTransfer.php
Checks if a particular path is a directory.

File

core/lib/Drupal/Core/FileTransfer/FileTransfer.php, line 334
Contains \Drupal\Core\FileTransfer\FileTransfer.

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

public abstract function isDirectory($path);