function backup_migrate_create_source in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.3 includes/sources.inc \backup_migrate_create_source()
- 7.3 includes/sources.inc \backup_migrate_create_source()
Create a source object of the given type with the given params.
1 call to backup_migrate_create_source()
- backup_migrate_source_db_mysql::sources in includes/
sources.db.mysql.inc - Declare any mysql databases defined in the settings.php file as a possible source.
File
- includes/
sources.inc, line 36
Code
function backup_migrate_create_source($subtype, $params = array()) {
$params['subtype'] = $subtype;
return backup_migrate_crud_create_item('source', $params);
}