You are here

function biblio_get_title_url_info in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 biblio.module \biblio_get_title_url_info()
  2. 6 biblio.module \biblio_get_title_url_info()
  3. 7.2 biblio.module \biblio_get_title_url_info()
9 calls to biblio_get_title_url_info()
biblio_style_ama in styles/biblio_style_ama.inc
biblio_style_apa in styles/biblio_style_apa.inc
Apply a bibliographic style to the node.
biblio_style_chicago in styles/biblio_style_chicago.inc
Apply a bibliographic style to the node.
biblio_style_classic in styles/biblio_style_classic.inc
Apply a bibliographic style to the node.
biblio_style_cse in styles/biblio_style_cse.inc
Apply a bibliographic style to the node.

... See full list

File

./biblio.module, line 2442
Bibliography Module for Drupal.

Code

function biblio_get_title_url_info($node) {
  return array(
    'link' => variable_get('biblio_link_title_url', 0) && !empty($node->biblio_url) ? $node->biblio_url : "node/{$node->nid}",
    'options' => array(
      'attributes' => variable_get('biblio_links_target_new_window', FALSE) ? array(
        'target' => '_blank',
      ) : array(),
      'html' => TRUE,
    ),
  );
}