function biblio_pm_entity_insert in Bibliography Module 7.2
File
- modules/
pubmed/ biblio_pm.module, line 304
Code
function biblio_pm_entity_insert($entity, $type) {
if ($type != 'biblio') {
return;
}
if (isset($entity->biblio_pubmed_id) && !empty($entity->biblio_pubmed_id)) {
$entity->biblio_pm_changed = time();
drupal_write_record('biblio_pubmed', $entity);
}
}