function UpdateTestFileTransfer::factory
Returns an UpdateTestFileTransfer object.
Return value
A new UpdateTestFileTransfer object.
File
-
modules/
update/ tests/ update_test.module, line 167
Class
- UpdateTestFileTransfer
- Mocks a FileTransfer object to test the settings form functionality.
Code
public static function factory() {
return new UpdateTestFileTransfer();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.