function notifications_custom_notifications_event in Notifications 6.4
Implementation of hook notifications_event()
Retrieve event action so we can create subscriptions to all node/action
File
- notifications_custom/
notifications_custom.module, line 154 - Custom notifications module
Code
function notifications_custom_notifications_event($op, $event, $account = NULL) {
switch ($op) {
case 'query':
$query[]['fields'] = array(
'event-action' => $event->action,
);
return $query;
}
}