function backup_migrate_crud_create_item in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 includes/crud.inc \backup_migrate_crud_create_item()
- 8.3 includes/crud.inc \backup_migrate_crud_create_item()
- 6.3 includes/crud.inc \backup_migrate_crud_create_item()
- 7.3 includes/crud.inc \backup_migrate_crud_create_item()
- 7.2 includes/crud.inc \backup_migrate_crud_create_item()
Create a new item of the given type.
4 calls to backup_migrate_crud_create_item()
- backup_migrate_backup_migrate_profiles in includes/
profiles.inc - Implementation of hook_backup_migrate_profiles().
- backup_migrate_perform_restore in ./
backup_migrate.module - Restore from a file in the given destination.
- backup_migrate_ui_manual_backup_form_submit in ./
backup_migrate.module - Submit the form. Save the values as defaults if desired and output the backup file.
- _backup_migrate_setup_database_defaults in ./
backup_migrate.install
File
- includes/
crud.inc, line 214 - CRUD functions for backup and migrate types (schedules, profiles etc.).
Code
function backup_migrate_crud_create_item($type, $params) {
if ($type = backup_migrate_crud_type_load($type)) {
return $type
->create($params);
}
}