You are here

function backup_migrate_destination::get_destination_type_name in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 6.2 includes/destinations.inc \backup_migrate_destination::get_destination_type_name()
  2. 7.2 includes/destinations.inc \backup_migrate_destination::get_destination_type_name()

Get the type name of this destination for display to the user.

File

includes/destinations.inc, line 581

Class

backup_migrate_destination
A base class for creating destinations.

Code

function get_destination_type_name() {
  if ($type = $this->destination_type) {
    $types = backup_migrate_get_destination_types();
    return isset($types[$type]['type_name']) ? $types[$type]['type_name'] : $type;
  }
}