You are here

function theme_diff_content_line in Diff 6.2

Same name and namespace in other branches
  1. 5.2 DiffEngine.php \theme_diff_content_line()
  2. 6 diff.module \theme_diff_content_line()
  3. 7.3 diff.theme.inc \theme_diff_content_line()
  4. 7.2 diff.theme.inc \theme_diff_content_line()

Theme function for a content line in the diff.

3 theme calls to theme_diff_content_line()
DrupalDiffFormatter::addedLine in ./DiffEngine.php
Note: you should HTML-escape parameter before calling this.
DrupalDiffFormatter::contextLine in ./DiffEngine.php
Note: you should HTML-escape parameter before calling this.
DrupalDiffFormatter::deletedLine in ./DiffEngine.php
Note: you should HTML-escape parameter before calling this.

File

./diff.theme.inc, line 262
Themeable function callbacks for diff.module.

Code

function theme_diff_content_line($line) {
  return '<div>' . $line . '</div>';
}