function update_test_filetransfer_info in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/update/tests/modules/update_test/update_test.module \update_test_filetransfer_info()
Implements hook_filetransfer_info().
File
- core/
modules/ update/ tests/ modules/ update_test/ update_test.module, line 61 - Module for testing Update Manager functionality.
Code
function update_test_filetransfer_info() {
// Define a mock file transfer method, to ensure that there will always be
// at least one method available in the user interface (regardless of the
// environment in which the update manager tests are run).
return array(
'system_test' => array(
'title' => t('Update Test FileTransfer'),
'class' => 'Drupal\\update_test\\MockFileTransfer',
'weight' => -20,
),
);
}