You are here

public function CronJob::setTitle in Ultimate Cron 8.2

Sets the title of the created cron job.

Parameters

$title:

Return value

mixed Cron job title.

Overrides CronJobInterface::setTitle

File

src/Entity/CronJob.php, line 843

Class

CronJob
Class for handling cron jobs.

Namespace

Drupal\ultimate_cron\Entity

Code

public function setTitle($title) {
  $this
    ->set('title', $title);
  return $this;
}