1.20.x filetransfer.test TestFileTransfer::isFile($path)

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

Parameters

$path: The path to check

Return value

boolean:

Overrides FileTransfer::isFile

File

modules/simpletest/tests/filetransfer.test, line 134

Class

TestFileTransfer
Mock FileTransfer object for test case.

Code

function isFile($path) {
  return FALSE;
}