public function JobSchedule::getPeriod in Job Scheduler 8.3
Returns the job period.
Return value
int Time period after which job is to be executed.
File
- src/
Entity/ JobSchedule.php, line 120
Class
- JobSchedule
- Defines the job schedule entity.
Namespace
Drupal\job_scheduler\EntityCode
public function getPeriod() {
return $this
->get('period')->value;
}