You are here

function system_test_filetransfer_info in Drupal 8

Same name and namespace in other branches
  1. 7 modules/simpletest/tests/system_test.module \system_test_filetransfer_info()
  2. 9 core/modules/system/tests/modules/system_test/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 142
Test module.

Code

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