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