public function Crontab::formatLabel in Ultimate Cron 8.2
Label for schedule.
Parameters
\Drupal\ultimate_cron\Entity\CronJob $job: The job whose label should be formatted.
Overrides SchedulerInterface::formatLabel
1 method overrides Crontab::formatLabel()
- Simple::formatLabel in src/
Plugin/ ultimate_cron/ Scheduler/ Simple.php - Label for schedule.
File
- src/
Plugin/ ultimate_cron/ Scheduler/ Crontab.php, line 34
Class
- Crontab
- Crontab scheduler.
Namespace
Drupal\ultimate_cron\Plugin\ultimate_cron\SchedulerCode
public function formatLabel(CronJob $job) {
return implode("\n", $this->configuration['rules']);
}