You are here

function backup_migrate_get_location_subtypes in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.3 includes/locations.inc \backup_migrate_get_location_subtypes()
  2. 7.3 includes/locations.inc \backup_migrate_get_location_subtypes()

Get the available location types.

2 calls to backup_migrate_get_location_subtypes()
backup_migrate_location::create in includes/locations.inc
Create a new location of the correct type.
backup_migrate_location::location_types in includes/locations.inc
Get the available location types.

File

includes/locations.inc, line 14

Code

function backup_migrate_get_location_subtypes() {
  backup_migrate_include('crud', 'destinations', 'sources');
  return backup_migrate_crud_subtypes('destination') + backup_migrate_crud_subtypes('source');
}