function backup_migrate_create_source in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.3 includes/sources.inc \backup_migrate_create_source()
- 6.3 includes/sources.inc \backup_migrate_create_source()
Create a source object of the given type with the given params.
File
- includes/
sources.inc, line 37
Code
function backup_migrate_create_source($subtype, $params = array()) {
$params['subtype'] = $subtype;
return backup_migrate_crud_create_item('source', $params);
}