public static function CronPlugin::setGlobalOption in Ultimate Cron 8.2
Set global plugin option.
Parameters
string $name: Name of global plugin option to get.
string $value: The value to give it.
3 calls to CronPlugin::setGlobalOption()
- drush_ultimate_cron_cron_run in ./
ultimate_cron.drush.inc - Run cron job(s).
- SerialLauncher::launchJobs in src/
Plugin/ ultimate_cron/ Launcher/ SerialLauncher.php - Default implementation of jobs launcher.
- UltimateCronCommands::run in src/
Commands/ UltimateCronCommands.php - Run cron job.
File
- src/
CronPlugin.php, line 128
Class
- CronPlugin
- This is the base class for all Ultimate Cron plugins.
Namespace
Drupal\ultimate_cronCode
public static function setGlobalOption($name, $value) {
static::$globalOptions[$name] = $value;
}