system_filetransfer_info()
Implements hook_filetransfer_info().
File
core/modules/system/system.module, line 517 Configuration system that lets administrators modify the workings of the site.
Code
function system_filetransfer_info() {
$backends = array();
// This is the default, will be available on most systems.
if (function_exists('ftp_connect')) {
$backends['ftp'] = array(
'title' => t('FTP'),
'class' => 'Drupal\Core\FileTransfer\FTP',
'weight' => 0,