FileTransferFTP::getSettingsForm
public function FileTransferFTP::getSettingsForm
public 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; }
© 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!ftp.inc/function/FileTransferFTP::getSettingsForm/7.x