You are here

function biblio_bibtex_entity_load in Bibliography Module 7.2

Implements hook_entity_load().

File

modules/bibtexParse/biblio_bibtex.module, line 485

Code

function biblio_bibtex_entity_load($entities, $type) {
  if ($type != 'biblio') {
    return;
  }
  foreach ($entities as $entity) {
    $wrapper = biblio_wrapper($entity, $type);
    $title = $wrapper->biblio_title
      ->value();
    $wrapper->biblio_title = biblio_remove_brace($title);
  }
}