You are here

function biblio_crossref_node_insert in Bibliography Module 7.2

Same name and namespace in other branches
  1. 7 modules/crossref/biblio_crossref.module \biblio_crossref_node_insert()

File

modules/crossref/biblio_crossref.module, line 153

Code

function biblio_crossref_node_insert($node) {
  if ($node->type != 'biblio') {
    return;
  }
  if (empty($node->biblio_crossref_id)) {
    return;
  }
  drupal_write_record('biblio_crossref', $node);
}