You are here

function notifications_content_exit in Notifications 7

Implements hook_exit().

Send content notifications as late as possbile, node_access is not build properly hook_node_insert/hook_node_update.

http://drupal.org/node/289211 Drupal core issue: http://drupal.org/node/690520

File

notifications_content/notifications_content.module, line 717
Subscriptions to content events

Code

function notifications_content_exit($destination = NULL) {
  foreach (_notifications_content_trigger_node() as $node) {
    _trigger_node($node, 'node_publish');
  }
}