You are here

public function JobSchedule::getPeriodic in Job Scheduler 8.3

Returns TRUE if job will be automatically rescheduled and FALSE if not.

Return value

bool The job rescheduling state.

File

src/Entity/JobSchedule.php, line 193

Class

JobSchedule
Defines the job schedule entity.

Namespace

Drupal\job_scheduler\Entity

Code

public function getPeriodic() {
  return (bool) $this
    ->get('periodic')->value;
}