final public static function UltimateCronPlugin::hook_cron_alter in Ultimate Cron 7.2
Invoke hook_cron_alter() on plugins.
1 call to UltimateCronPlugin::hook_cron_alter()
- _ultimate_cron_job_load_all in ./
ultimate_cron.module - CTools Export load all callback.
File
- ./
ultimate_cron.plugin.inc, line 109 - Plugin framework for Ultimate Cron.
Class
- UltimateCronPlugin
- This is the base class for all Ultimate Cron plugins.
Code
public static final function hook_cron_alter(&$jobs) {
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()) {
$plugin
->cron_alter($jobs);
}
}
}
}