protected function DiffFormatter::_deleted

protected DiffFormatter::_deleted($lines)

Overrides DiffFormatter::_deleted

File

core/lib/Drupal/Core/Diff/DiffFormatter.php, line 177

Class

DiffFormatter
Diff formatter which uses returns output that can be rendered to a table.

Namespace

Drupal\Core\Diff

Code

protected function _deleted($lines) {
  foreach ($lines as $line) {
    $this->rows[] = array_merge($this->deletedLine(Html::escape($line)), $this->emptyLine());
  }
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Diff!DiffFormatter.php/function/DiffFormatter::_deleted/8.1.x