function backup_migrate_create_source in Backup and Migrate 8.3
Same name and namespace in other branches
- 6.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.
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);
}