You are here

public function UltimateCronCrontabScheduler::formatLabel in Ultimate Cron 7.2

Label for schedule.

Overrides UltimateCronPlugin::formatLabel

1 method overrides UltimateCronCrontabScheduler::formatLabel()
UltimateCronSimpleScheduler::formatLabel in plugins/ultimate_cron/scheduler/simple.class.php
Label for schedule.

File

plugins/ultimate_cron/scheduler/crontab.class.php, line 24
Crontab cron job scheduler for Ultimate Cron.

Class

UltimateCronCrontabScheduler
Crontab scheduler.

Code

public function formatLabel($job) {
  $settings = $job
    ->getSettings($this->type);
  return implode("\n", $settings['rules']);
}