public function CronJob::setModule in Ultimate Cron 8.2
Sets the cron job module name used for the callback string.
Parameters
$module:
Return value
string Module name.
Overrides CronJobInterface::setModule
File
- src/
Entity/ CronJob.php, line 859
Class
- CronJob
- Class for handling cron jobs.
Namespace
Drupal\ultimate_cron\EntityCode
public function setModule($module) {
$this
->set('module', $module);
return $this;
}