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

File

drupal/core/lib/Drupal/Core/FileTransfer/FileTransfer.php, line 348
Definition of Drupal\Core\FileTransfer\FileTransfer.

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

public abstract function isFile($path);