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