1 update_test.module public UpdateTestFileTransfer::getSettingsForm()

Returns a settings form with a text field to input a username.

File

core/modules/update/tests/update_test/update_test.module, line 175
Module for testing Update Manager functionality.

Class

UpdateTestFileTransfer
Mocks a FileTransfer object to test the settings form functionality.

Code

public function getSettingsForm() {
  $form = array();
  $form['udpate_test_username'] = array(
    '#type' => 'textfield',
    '#title' => t('Update Test Username'),
  );
  return $form;
}