public function JobSchedule::setPeriodic in Job Scheduler 8.3
Sets the job periodic.
Parameters
bool $periodic: The job periodic.
Return value
JobSchedule The job schedule entity.
File
- src/
Entity/ JobSchedule.php, line 182
Class
- JobSchedule
- Defines the job schedule entity.
Namespace
Drupal\job_scheduler\EntityCode
public function setPeriodic($periodic) {
$this
->set('periodic', (bool) $periodic);
return $this;
}