You are here

function notifications_content_node_view_alter in Notifications 7

Implements hook_node_view_alter().

File

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

Code

function notifications_content_node_view_alter(&$build) {

  // Remove contextual links for 'notifications' view mode
  if ($build['#view_mode'] == 'notifications' && isset($build['#contextual_links'])) {
    unset($build['#contextual_links']);
  }
}