function TestFileTransferWithSettingsForm::factory
Same name in other branches
- 9 core/modules/update/tests/modules/update_test/src/TestFileTransferWithSettingsForm.php \Drupal\update_test\TestFileTransferWithSettingsForm::factory()
- 10 core/modules/update/tests/modules/update_test/src/TestFileTransferWithSettingsForm.php \Drupal\update_test\TestFileTransferWithSettingsForm::factory()
- 11.x core/modules/update/tests/modules/update_test/src/TestFileTransferWithSettingsForm.php \Drupal\update_test\TestFileTransferWithSettingsForm::factory()
Returns a Drupal\update_test\TestFileTransferWithSettingsForm object.
Return value
static A new Drupal\update_test\TestFileTransferWithSettingsForm object.
Overrides Local::factory
File
-
core/
modules/ update/ tests/ modules/ update_test/ src/ TestFileTransferWithSettingsForm.php, line 24
Class
- TestFileTransferWithSettingsForm
- Provides an object to test the settings form functionality.
Namespace
Drupal\update_testCode
public static function factory($jail, $settings) {
return new static($jail, \Drupal::service('file_system'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.