You are here

function biblio_crossref_node_insert in Bibliography Module 7

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

File

modules/crossref/biblio_crossref.module, line 182

Code

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