function system_test_filetransfer_info

Same name in other branches
  1. 9 core/modules/system/tests/modules/system_test/system_test.module \system_test_filetransfer_info()
  2. 8.9.x 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()
  4. 11.x 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 467

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,
        ),
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.