You are here

public function UpdateTestFileTransfer::getSettingsForm in Drupal 7

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

File

modules/update/tests/update_test.module, line 174
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;
}