You are here

function biblio_marc_node_view in Bibliography Module 7

File

modules/marcParse/biblio_marc.module, line 228

Code

function biblio_marc_node_view($node, $view_mode) {
  if ($node->type == 'biblio') {
    switch ($view_mode) {
      case 'full':
      case 'teaser':
        $links = biblio_marc_biblio_export_link($node->nid);
        $node->content['links']['biblio_marc'] = array(
          '#links' => $links,
          '#attributes' => array(
            'class' => array(
              'links',
              'inline',
            ),
          ),
        );
    }
  }
}