function FileTransferFTP::getSettingsForm
Returns the form to configure the FileTransfer class for FTP.
Overrides FileTransfer::getSettingsForm
File
-
includes/
filetransfer/ ftp.inc, line 44
Class
- FileTransferFTP
- Base class for FTP implementations.
Code
public function getSettingsForm() {
$form = parent::getSettingsForm();
$form['advanced']['port']['#default_value'] = 21;
return $form;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.