function biblio_tagged_node_view in Bibliography Module 7
Same name and namespace in other branches
- 7.2 modules/endnote/biblio_tagged.module \biblio_tagged_node_view()
File
- modules/
endnote/ biblio_tagged.module, line 48
Code
function biblio_tagged_node_view($node, $view_mode) {
if ($node->type == 'biblio') {
switch ($view_mode) {
case 'full':
case 'teaser':
$links = biblio_tagged_biblio_export_link($node->nid);
$node->content['links']['biblio_tagged'] = array(
'#links' => $links,
'#attributes' => array(
'class' => array(
'links',
'inline',
),
),
);
}
}
}