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