You are here

function backup_migrate_crud_get_items in Backup and Migrate 6.3

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.2 includes/crud.inc \backup_migrate_crud_get_items()
  4. 7.3 includes/crud.inc \backup_migrate_crud_get_items()
  5. 7.2 includes/crud.inc \backup_migrate_crud_get_items()

Get all items of the given type.

5 calls to backup_migrate_crud_get_items()
backup_migrate_get_destinations in includes/destinations.inc
Get all the available backup destination.
backup_migrate_get_locations in includes/locations.inc
Get all the available backup location.
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.
backup_migrate_get_sources in includes/sources.inc
Get all the available backup sources.

File

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