function DrupalDiffFormatter::addedLine in Diff 5.2
Same name and namespace in other branches
- 6.2 DiffEngine.php \DrupalDiffFormatter::addedLine()
- 6 DiffEngine.php \DrupalDiffFormatter::addedLine()
- 7.3 DiffEngine.php \DrupalDiffFormatter::addedLine()
- 7.2 DiffEngine.php \DrupalDiffFormatter::addedLine()
Note: you should HTML-escape parameter before calling this.
2 calls to DrupalDiffFormatter::addedLine()
File
- ./
DiffEngine.php, line 1081
Class
- DrupalDiffFormatter
- Diff formatter which uses Drupal theme functions. @private @subpackage DifferenceEngine
Code
function addedLine($line) {
return array(
'+',
array(
'data' => theme('diff_content_line', $line),
'class' => 'diff-addedline',
),
);
}