You are here

function DrupalDiffFormatter::deletedLine in Diff 6

Same name and namespace in other branches
  1. 5.2 DiffEngine.php \DrupalDiffFormatter::deletedLine()
  2. 6.2 DiffEngine.php \DrupalDiffFormatter::deletedLine()
  3. 7.3 DiffEngine.php \DrupalDiffFormatter::deletedLine()
  4. 7.2 DiffEngine.php \DrupalDiffFormatter::deletedLine()

Note: you should HTML-escape parameter before calling this.

2 calls to DrupalDiffFormatter::deletedLine()
DrupalDiffFormatter::_changed in ./DiffEngine.php
DrupalDiffFormatter::_deleted in ./DiffEngine.php

File

./DiffEngine.php, line 1096

Class

DrupalDiffFormatter
Diff formatter which uses Drupal theme functions. @private @subpackage DifferenceEngine

Code

function deletedLine($line) {
  return array(
    '-',
    array(
      'data' => theme('diff_content_line', $line),
      'class' => 'diff-deletedline',
    ),
  );
}