You are here

function system_test_filetransfer_info in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/system_test/system_test.module \system_test_filetransfer_info()
  2. 7 modules/simpletest/tests/system_test.module \system_test_filetransfer_info()
  3. 10 core/modules/system/tests/modules/system_test/system_test.module \system_test_filetransfer_info()

Implements hook_filetransfer_info().

File

core/modules/system/tests/modules/system_test/system_test.module, line 122
Test module.

Code

function system_test_filetransfer_info() {
  return [
    'system_test' => [
      'title' => t('System Test FileTransfer'),
      'class' => 'Drupal\\system_test\\MockFileTransfer',
      'weight' => -10,
    ],
  ];
}