function theme_diff_content_line in Diff 7.2
Same name and namespace in other branches
- 5.2 DiffEngine.php \theme_diff_content_line()
- 6.2 diff.theme.inc \theme_diff_content_line()
- 6 diff.module \theme_diff_content_line()
- 7.3 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 270 - Themeable function callbacks for diff.module.
Code
function theme_diff_content_line($vars) {
return '<div>' . $vars['line'] . '</div>';
}