You are here

function rrssb_node_view in Ridiculously Responsive Social Sharing Buttons 7

Same name and namespace in other branches
  1. 8.2 rrssb.module \rrssb_node_view()
  2. 7.2 rrssb.module \rrssb_node_view()

Implements hook_node_view().

File

./rrssb.module, line 579

Code

function rrssb_node_view($node, $view_mode, $langcode) {
  if (variable_get('rrssb_' . $node->type) == 1) {
    $node->content['rrssb'] = rrssb_get_buttons($node);
  }
}