You are here

function yashare_node_view in Yandex.Share 7

Implements hook_node_view().

File

./yashare.module, line 47

Code

function yashare_node_view($node, $view_mode, $langcode) {
  $node->content['yashare'] = yashare_build('node-' . $node->nid . '-' . $view_mode, 'node/' . $node->nid, $node->title);
}