function _scheduler_scheduler_api in Scheduler 5
Same name and namespace in other branches
- 6 scheduler.module \_scheduler_scheduler_api()
- 7 scheduler.module \_scheduler_scheduler_api()
Scheduler API to perform actions when nodes are (un)published
Parameters
$node: The node object
$action: The action being performed, either "publish" or "unpublish"
1 call to _scheduler_scheduler_api()
- scheduler_cron in ./
scheduler.module - Implementation of hook_cron().
File
- ./
scheduler.module, line 492
Code
function _scheduler_scheduler_api($node, $action) {
foreach (module_implements('scheduler_api') as $module) {
$function = $module . '_scheduler_api';
$function($node, $action);
}
}