You are here

function backup_migrate_crud_get_item in Backup and Migrate 7.2

Same name and namespace in other branches
  1. 8.2 includes/crud.inc \backup_migrate_crud_get_item()
  2. 8.3 includes/crud.inc \backup_migrate_crud_get_item()
  3. 6.3 includes/crud.inc \backup_migrate_crud_get_item()
  4. 6.2 includes/crud.inc \backup_migrate_crud_get_item()
  5. 7.3 includes/crud.inc \backup_migrate_crud_get_item()

Get an item of the specified type.

1 call to backup_migrate_crud_get_item()
nodesquirrel_settings in includes/destinations.nodesquirrel.inc
NodeSquirrel settings form.

File

includes/crud.inc, line 205
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);
  }
}