You are here

function biblio_citeproc_biblio_map_alter in Bibliography Module 7

Implements hook_biblio_map_alter().

File

modules/CiteProc/biblio_citeproc.module, line 73

Code

function biblio_citeproc_biblio_map_alter(&$map, $type, $format) {
  if ($type == 'field_map' && $format == 'csl') {
    $map = array_merge($map, array(
      'author' => 'biblio_contributors:1',
      'editor' => 'biblio_contributors:2',
      'translator' => 'biblio_contributors:3',
      'recipient' => ':',
      'interviewer' => ':',
      'composer' => ':',
    ));
  }
}