You are here

function backup_migrate_profile::get_destination_name in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 8.3 includes/profiles.inc \backup_migrate_profile::get_destination_name()
  2. 6.3 includes/profiles.inc \backup_migrate_profile::get_destination_name()
  3. 6.2 includes/profiles.inc \backup_migrate_profile::get_destination_name()
  4. 7.3 includes/profiles.inc \backup_migrate_profile::get_destination_name()
  5. 7.2 includes/profiles.inc \backup_migrate_profile::get_destination_name()

Get the name of the destination.

File

includes/profiles.inc, line 287

Class

backup_migrate_profile
A profile class for crud operations.

Code

function get_destination_name() {
  if ($destination = $this
    ->get_destination()) {
    return $destination
      ->get_name();
  }
  return t("Missing");
}