You are here

function backup_migrate_profile::get_destination_name in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.2 includes/profiles.inc \backup_migrate_profile::get_destination_name()
  2. 8.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 325

Class

backup_migrate_profile
A profile class for crud operations.

Code

function get_destination_name() {
  $out = array();
  foreach ($this
    ->get_destinations() as $destination) {
    $out[] = $destination
      ->get_name();
  }
  if ($out) {
    return implode(', ', $out);
  }
  return t("Missing");
}