You are here

function backup_migrate_crud_get_items in Backup and Migrate 7.2

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

Get all items of the given type.

3 calls to backup_migrate_crud_get_items()
backup_migrate_get_destinations in includes/destinations.inc
Get all the available backup destination.
backup_migrate_get_profiles in includes/profiles.inc
Get all the available backup profiles.
backup_migrate_get_schedules in includes/schedules.inc
Get all the available backup schedules.

File

includes/crud.inc, line 195
CRUD functions for backup and migrate types (schedules, profiles etc.).

Code

function backup_migrate_crud_get_items($type) {
  if ($type = backup_migrate_crud_type_load($type)) {
    return $type
      ->all_items();
  }
}