You are here

function biblio_marc_node_insert in Bibliography Module 7.2

Same name and namespace in other branches
  1. 7 modules/marcParse/biblio_marc.module \biblio_marc_node_insert()

File

modules/marcParse/biblio_marc.module, line 25

Code

function biblio_marc_node_insert($node) {
  if ($node->type != 'biblio') {
    return;
  }
  if (!isset($node->biblio_marc_md5)) {
    return;
  }
  drupal_write_record('biblio_marc', $node);
}