function backup_migrate_schedule::get_last_run_description in Backup and Migrate 8.3
Same name and namespace in other branches
- 8.2 includes/schedules.inc \backup_migrate_schedule::get_last_run_description()
- 6.3 includes/schedules.inc \backup_migrate_schedule::get_last_run_description()
- 6.2 includes/schedules.inc \backup_migrate_schedule::get_last_run_description()
- 7.3 includes/schedules.inc \backup_migrate_schedule::get_last_run_description()
- 7.2 includes/schedules.inc \backup_migrate_schedule::get_last_run_description()
Format the enabled status in human-readable form.
File
- includes/
schedules.inc, line 367 - All of the schedule handling code needed for Backup and Migrate.
Class
- backup_migrate_schedule
- A schedule class for crud operations.
Code
function get_last_run_description() {
$last_run = $this
->get('last_run');
return !empty($last_run) ? format_date($last_run, 'small') : t('Never');
}