You are here

public static function CronPlugin::getGlobalOption in Ultimate Cron 8.2

Get global plugin option.

Parameters

string $name: Name of global plugin option to get.

Return value

mixed Value of option if any, NULL if not found.

2 calls to CronPlugin::getGlobalOption()
SerialLauncher::launchJobs in src/Plugin/ultimate_cron/Launcher/SerialLauncher.php
Default implementation of jobs launcher.
SerialLauncher::runThread in src/Plugin/ultimate_cron/Launcher/SerialLauncher.php

File

src/CronPlugin.php, line 106

Class

CronPlugin
This is the base class for all Ultimate Cron plugins.

Namespace

Drupal\ultimate_cron

Code

public static function getGlobalOption($name) {
  return isset(static::$globalOptions[$name]) ? static::$globalOptions[$name] : NULL;
}