function _backup_migrate_schedule_get_links in Backup and Migrate 5.2
Get the action links for a schedule.
1 call to _backup_migrate_schedule_get_links()
- backup_migrate_ui_schedule_display_schedules in includes/
schedules.inc - List the the available schedules in the UI.
File
- includes/
schedules.inc, line 330 - All of the schedule handling code needed for Backup and Migrate.
Code
function _backup_migrate_schedule_get_links($schedule_id) {
$out = array();
if ($schedule = backup_migrate_get_schedule($schedule_id)) {
if ($schedule['db']) {
$out[] = l(t("Configure..."), "admin/content/backup_migrate/schedule/configure/" . $schedule_id);
$out[] = l(t("Delete..."), "admin/content/backup_migrate/schedule/delete/" . $schedule_id);
}
}
return $out;
}