You are here

function backup_migrate_schedule::get_destination_name in Backup and Migrate 7.2

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

Get the name of the destination.

File

includes/schedules.inc, line 127

Class

backup_migrate_schedule
A schedule class for crud operations.

Code

function get_destination_name() {
  if ($destination = $this
    ->get_destination()) {
    return check_plain($destination
      ->get_name());
  }
  return '<div class="row-error">' . t("Missing") . '</div>';
}