You are here

function system_test_filetransfer_info in Drupal 7

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

Implements hook_filetransfer_info().

File

modules/simpletest/tests/system_test.module, line 422

Code

function system_test_filetransfer_info() {
  return array(
    'system_test' => array(
      'title' => t('System Test FileTransfer'),
      'file' => 'system_test.module',
      // Should be a .inc, but for test, ok.
      'class' => 'SystemTestFileTransfer',
      'weight' => -10,
    ),
  );
}