FileTransferSSH::getSettingsForm
public function FileTransferSSH::getSettingsForm
public FileTransferSSH::getSettingsForm()
Returns the form to configure the FileTransfer class for SSH.
Overrides FileTransfer::getSettingsForm
File
- includes/filetransfer/ssh.inc, line 105
Class
- FileTransferSSH
- The SSH connection class for the update module.
Code
public function getSettingsForm() { $form = parent::getSettingsForm(); $form['advanced']['port']['#default_value'] = 22; return $form; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!filetransfer!ssh.inc/function/FileTransferSSH::getSettingsForm/7.x