You are here

public function BiblioStyleBibtex::importKeywords in Bibliography Module 7.3

Import keywords.

Parameters

EntityMetadataWrapper $wrapper: The wrapped Biblio object.

$key: The key to import.

$entry: The data to import from.

File

plugins/biblio_style/bibtex/BiblioStyleBibtex.class.php, line 68
BibTeX style.

Class

BiblioStyleBibtex
@file BibTeX style.

Code

public function importKeywords(EntityMetadataWrapper $wrapper, $key, $entry) {
  if (empty($entry[$key])) {
    return;
  }
  $keywords = str_replace(';', ',', $entry[$key]);
  $this
    ->importKeywordsList($wrapper, explode(',', $keywords));
}