You are here

function bm_test_exportables_backup_migrate_sources in Backup and Migrate 7.3

Implements hook_exportables_backup_migrate_sources().

File

tests/bm_test.module, line 74
Mock module to help and test hooks.

Code

function bm_test_exportables_backup_migrate_sources() {
  $export = array();
  $item = new BmTestItem();
  $mock_record = _bm_test_get_mock_source();
  foreach ($mock_record as $key => $field) {
    $item->{$key} = $field;
  }
  $export['mock_file_directory'] = $item;
  return $export;
}