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