function TestFileTransfer::isDirectory

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

Overrides FileTransfer::isDirectory

File

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

Class

TestFileTransfer
Mock FileTransfer object for test case.

Code

function isDirectory($path) {
    return $this->shouldIsDirectoryReturnTrue;
}

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