final public static function UltimateCronPlugin::hook_cron_pre_schedule in Ultimate Cron 7.2
Invoke hook_cron_pre_schedule() on plugins.
1 call to UltimateCronPlugin::hook_cron_pre_schedule()
- UltimateCronJob::isScheduled in ./
ultimate_cron.job.inc - Check job schedule.
File
- ./
ultimate_cron.plugin.inc, line 125 - Plugin framework for Ultimate Cron.
Class
- UltimateCronPlugin
- This is the base class for all Ultimate Cron plugins.
Code
public static final function hook_cron_pre_schedule($job) {
ctools_include('plugins');
$plugin_types = ctools_plugin_get_plugin_type_info();
foreach ($plugin_types['ultimate_cron'] as $plugin_type => $info) {
$plugins = _ultimate_cron_plugin_load_all($plugin_type);
foreach ($plugins as $plugin) {
if ($plugin
->isValid($job)) {
$plugin
->cron_pre_schedule($job);
}
}
}
}