function backup_migrate_simpletest in Backup and Migrate 8.3
Same name and namespace in other branches
- 8.2 backup_migrate.module \backup_migrate_simpletest()
- 5.2 backup_migrate.module \backup_migrate_simpletest()
- 5 backup_migrate.module \backup_migrate_simpletest()
- 6.3 backup_migrate.module \backup_migrate_simpletest()
- 6.2 backup_migrate.module \backup_migrate_simpletest()
- 7.3 backup_migrate.module \backup_migrate_simpletest()
- 7.2 backup_migrate.module \backup_migrate_simpletest()
Implements hook_simpletest().
File
- ./
backup_migrate.module, line 333 - Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)
Code
function backup_migrate_simpletest() {
$dir = drupal_get_path('module', 'backup_migrate') . '/tests';
$tests = file_scan_directory($dir, '\\.test$');
return array_keys($tests);
}