You are here

public function CronJob::setSchedulerId in Ultimate Cron 8.2

Sets scheduler array which holds info about the scheduler settings.

Parameters

$scheduler_id:

Return value

array Scheduler settings

Overrides CronJobInterface::setSchedulerId

File

src/Entity/CronJob.php, line 867

Class

CronJob
Class for handling cron jobs.

Namespace

Drupal\ultimate_cron\Entity

Code

public function setSchedulerId($scheduler_id) {
  $this->scheduler['id'] = $scheduler_id;
  return $this;
}