You are here

public function CronJob::setConfiguration in Ultimate Cron 8.2

Set configuration for a given plugin type.

Parameters

string $plugin_type: launcher, logger or scheduler.

array $configuration: The configuration array.

File

src/Entity/CronJob.php, line 171

Class

CronJob
Class for handling cron jobs.

Namespace

Drupal\ultimate_cron\Entity

Code

public function setConfiguration($plugin_type, array $configuration) {
  $this->{$plugin_type}['configuration'] = $configuration;
}