function bm_test_exportables_backup_migrate_destinations in Backup and Migrate 7.3
Implements hook_exportables_backup_migrate_destinations().
File
- tests/
bm_test.module, line 100 - Mock module to help and test hooks.
Code
function bm_test_exportables_backup_migrate_destinations() {
$export = array();
$item = new BmTestItem();
$mock_record = _bm_test_get_mock_destination();
foreach ($mock_record as $key => $field) {
$item->{$key} = $field;
}
$export['mock_email'] = $item;
return $export;
}