function TestFileTransfer::isFile

Same name in other branches
  1. 7.x modules/simpletest/tests/filetransfer.test \TestFileTransfer::isFile()
  2. 8.9.x core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php \Drupal\Tests\system\Functional\FileTransfer\TestFileTransfer::isFile()
  3. 10 core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php \Drupal\Tests\system\Functional\FileTransfer\TestFileTransfer::isFile()
  4. 11.x core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php \Drupal\Tests\system\Functional\FileTransfer\TestFileTransfer::isFile()

Overrides FileTransfer::isFile

File

core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php, line 73

Class

TestFileTransfer
Mock FileTransfer object for test case.

Namespace

Drupal\Tests\system\Functional\FileTransfer

Code

public function isFile($path) {
    return FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.