function backup_migrate_crud_get_item in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.2 includes/crud.inc \backup_migrate_crud_get_item()
- 8.3 includes/crud.inc \backup_migrate_crud_get_item()
- 6.3 includes/crud.inc \backup_migrate_crud_get_item()
- 6.2 includes/crud.inc \backup_migrate_crud_get_item()
- 7.2 includes/crud.inc \backup_migrate_crud_get_item()
Get an item of the specified type.
File
- includes/
crud.inc, line 380 - CRUD functions for backup and migrate types (schedules, profiles etc.).
Code
function backup_migrate_crud_get_item($type, $id) {
if ($type = backup_migrate_crud_type_load($type)) {
return $type
->item($id);
}
}