You are here

protected function EndnoteEncoder::buildLine in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_endnote/src/Encoder/EndnoteEncoder.php \Drupal\bibcite_endnote\Encoder\EndnoteEncoder::buildLine()

Build entry line.

Parameters

string $key: Line key.

string $value: Line value.

Return value

string Entry line.

2 calls to EndnoteEncoder::buildLine()
EndnoteEncoder::buildEntry in modules/bibcite_endnote/src/Encoder/EndnoteEncoder.php
Build tagged entry string.
EndnoteEncoder::buildMultiLine in modules/bibcite_endnote/src/Encoder/EndnoteEncoder.php
Build multi line entry.

File

modules/bibcite_endnote/src/Encoder/EndnoteEncoder.php, line 496

Class

EndnoteEncoder
Endnote format encoder.

Namespace

Drupal\bibcite_endnote\Encoder

Code

protected function buildLine($key, $value) {
  return $key . ' ' . $value . "\n";
}