You are here

abstract public function FileTransfer::isFile 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::isFile()

Checks if a particular path is a file (not a directory).

Parameters

string $path: The path to check.

Return value

bool TRUE if the specified path is a file, FALSE otherwise.

1 call to FileTransfer::isFile()
FileTransfer::findChroot in core/lib/Drupal/Core/FileTransfer/FileTransfer.php
Returns the chroot property for this connection.
4 methods override FileTransfer::isFile()
FTPExtension::isFile in core/lib/Drupal/Core/FileTransfer/FTPExtension.php
Checks if a particular path is a file (not a directory).
Local::isFile in core/lib/Drupal/Core/FileTransfer/Local.php
Checks if a particular path is a file (not a directory).
SSH::isFile in core/lib/Drupal/Core/FileTransfer/SSH.php
Checks if a particular path is a file (not a directory).
TestFileTransfer::isFile in core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php
Checks if a particular path is a file (not a directory).

File

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

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

public abstract function isFile($path);