You are here

function backup_migrate_schedule::get_profile_name in Backup and Migrate 7.2

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

Get the name of the source.

File

includes/schedules.inc, line 145

Class

backup_migrate_schedule
A schedule class for crud operations.

Code

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