function TestFileTransfer::isFile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php \Drupal\system\Tests\FileTransfer\TestFileTransfer::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.
Overrides FileTransfer::isFile
File
- core/
modules/ system/ src/ Tests/ FileTransfer/ TestFileTransfer.php, line 62 - Contains \Drupal\system\Tests\FileTransfer\TestFileTransfer.
Class
- TestFileTransfer
- Mock FileTransfer object for test case.
Namespace
Drupal\system\Tests\FileTransferCode
function isFile($path) {
return FALSE;
}