1 diff.inc protected BackdropDiffFormatter::addedLine($line)

File

core/includes/diff.inc, line 1210
A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)

Class

BackdropDiffFormatter
Backdrop diff formatter which returns diffs as an array.

Code

protected function addedLine($line) {
  return array(
    array(
      'data' => '+',
      'class' => 'diff-marker diff-addedline',
    ),
    array(
      'data' => $line,
      'class' => 'diff-context diff-addedline',
    )
  );
}