function backup_migrate_location::get_subtype_name in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.3 includes/locations.inc \backup_migrate_location::get_subtype_name()
- 7.3 includes/locations.inc \backup_migrate_location::get_subtype_name()
Get the type name of this location for display to the user.
File
- includes/
locations.inc, line 160
Class
- backup_migrate_location
- A base class for creating locations.
Code
function get_subtype_name() {
if ($type = $this
->get('subtype')) {
$types = $this
->location_types();
return isset($types[$type]['type_name']) ? $types[$type]['type_name'] : $type;
}
}