function backup_migrate_schedule::get_frequency_description

cis7 schedules.inc backup_migrate_schedule::get_frequency_description()
cle7 schedules.inc backup_migrate_schedule::get_frequency_description()
elmsmedia7 schedules.inc backup_migrate_schedule::get_frequency_description()
icor7 schedules.inc backup_migrate_schedule::get_frequency_description()
meedjum_blog7 schedules.inc backup_migrate_schedule::get_frequency_description()
mooc7 schedules.inc backup_migrate_schedule::get_frequency_description()

Format a frequency in human-readable form.

File

sites/all/modules/ulmus/backup_migrate/includes/schedules.inc, line 155
All of the schedule handling code needed for Backup and Migrate.

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;
}