You are here

public function CronJob::isLocked in Ultimate Cron 8.2

Get locked state of job.

Overrides CronJobInterface::isLocked

2 calls to CronJob::isLocked()
CronJob::isScheduled in src/Entity/CronJob.php
Check job schedule.
CronJob::unlock in src/Entity/CronJob.php
Unlock job.

File

src/Entity/CronJob.php, line 423

Class

CronJob
Class for handling cron jobs.

Namespace

Drupal\ultimate_cron\Entity

Code

public function isLocked() {
  return $this
    ->getPlugin('launcher')
    ->isLocked($this);
}