You are here

public function CronJob::loadLogEntry in Ultimate Cron 8.2

Load log entry.

Parameters

string $lock_id: The lock id of the log entry.

Return value

LogEntry The log entry.

Overrides CronJobInterface::loadLogEntry

File

src/Entity/CronJob.php, line 527

Class

CronJob
Class for handling cron jobs.

Namespace

Drupal\ultimate_cron\Entity

Code

public function loadLogEntry($lock_id) {
  return $this
    ->getPlugin('logger')
    ->load($this
    ->id(), $lock_id);
}