function backup_migrate_schedule::get_frequency_description in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 includes/schedules.inc \backup_migrate_schedule::get_frequency_description()
- 6.3 includes/schedules.inc \backup_migrate_schedule::get_frequency_description()
- 6.2 includes/schedules.inc \backup_migrate_schedule::get_frequency_description()
- 7.3 includes/schedules.inc \backup_migrate_schedule::get_frequency_description()
- 7.2 includes/schedules.inc \backup_migrate_schedule::get_frequency_description()
Format a frequency in human-readable form.
File
- includes/
schedules.inc, line 155
Class
- backup_migrate_schedule
- A schedule class for crud operations.
Code
function get_frequency_description() {
$period = $this
->get_frequency_period();
$out = format_plural($this->period / $period['seconds'], $period['singular'], $period['plural']);
return $out;
}