function notifications_scheduler_default_action in Notifications 7
Default action handlers
2 calls to notifications_scheduler_default_action()
- notifications_scheduler_latest_posts_action in notifications_scheduler/
notifications_scheduler.module - Action callback
- notifications_scheduler_new_posts_action in notifications_scheduler/
notifications_scheduler.module - Action callback
File
- notifications_scheduler/
notifications_scheduler.module, line 111 - Notifications scheduler module
Code
function notifications_scheduler_default_action($job, $context, $a1, $a2) {
$event_type = $context['event_type'];
notifications_event($event_type)
->set_action($job, $context)
->trigger();
}