function backup_migrate_get_location_subtypes in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.3 includes/locations.inc \backup_migrate_get_location_subtypes()
- 6.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 13
Code
function backup_migrate_get_location_subtypes() {
require_once dirname(__FILE__) . '/crud.inc';
require_once dirname(__FILE__) . '/destinations.inc';
require_once dirname(__FILE__) . '/sources.inc';
return backup_migrate_crud_subtypes('destination') + backup_migrate_crud_subtypes('source');
}