Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / hook / filetransfer_info.twig
1 /**
2  * Implements hook_filetransfer_info().
3  */
4 function {{ machine_name }}_filetransfer_info() {
5   $info['sftp'] = [
6     'title' => t('SFTP (Secure FTP)'),
7     'class' => 'Drupal\Core\FileTransfer\SFTP',
8     'weight' => 10,
9   ];
10   return $info;
11 }