function DrupalDiffFormatter::_context in Diff 6
Same name and namespace in other branches
- 5.2 DiffEngine.php \DrupalDiffFormatter::_context()
- 6.2 DiffEngine.php \DrupalDiffFormatter::_context()
- 7.3 DiffEngine.php \DrupalDiffFormatter::_context()
- 7.2 DiffEngine.php \DrupalDiffFormatter::_context()
Overrides DiffFormatter::_context
File
- ./
DiffEngine.php, line 1138
Class
- DrupalDiffFormatter
- Diff formatter which uses Drupal theme functions. @private @subpackage DifferenceEngine
Code
function _context($lines) {
foreach ($lines as $line) {
$this->rows[] = array_merge($this
->contextLine(check_plain($line)), $this
->contextLine(check_plain($line)));
}
}