function theme_diff_content_line in Diff 6
Same name and namespace in other branches
- 5.2 DiffEngine.php \theme_diff_content_line()
- 6.2 diff.theme.inc \theme_diff_content_line()
- 7.3 diff.theme.inc \theme_diff_content_line()
- 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.module, line 745 
- Provides functionality to show a diff between two node revisions.
Code
function theme_diff_content_line($line) {
  return '<div>' . $line . '</div>';
}