You are here

public static function MockFileTransfer::factory in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/system/tests/modules/system_test/src/MockFileTransfer.php \Drupal\system_test\MockFileTransfer::factory()
  2. 8 core/modules/update/tests/modules/update_test/src/MockFileTransfer.php \Drupal\update_test\MockFileTransfer::factory()
Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/system_test/src/MockFileTransfer.php \Drupal\system_test\MockFileTransfer::factory()

Returns a Drupal\system_test\MockFileTransfer object.

Return value

\Drupal\system_test\MockFileTransfer A new Drupal\system_test\MockFileTransfer object.

File

core/modules/system/tests/modules/system_test/src/MockFileTransfer.php, line 21
Contains \Drupal\system_test\MockFileTransfer.

Class

MockFileTransfer
Mock FileTransfer object to test the settings form functionality.

Namespace

Drupal\system_test

Code

public static function factory() {
  return new MockFileTransfer();
}