You are here

public function BiblioStyleEndNoteTagged::renderEntrySecondaryTitle in Bibliography Module 7.3

File

plugins/biblio_style/endnote/BiblioStyleEndNoteTagged.php, line 123
EndNote tagged biblio style.

Class

BiblioStyleEndNoteTagged
@file EndNote tagged biblio style.

Code

public function renderEntrySecondaryTitle(&$output = array(), EntityMetadataWrapper $wrapper) {
  if (!($value = $wrapper->biblio_secondary_title
    ->value())) {
    return;
  }
  $biblio = $wrapper
    ->value();
  $tag = $biblio->type == 'journal' ? '%J' : '%B';
  $output[] = $tag . ' ' . $value;
}