W3cubDocs

/Drupal 8

protected function DiffFormatter::_changed

protected DiffFormatter::_changed($orig, $closing)

File

core/lib/Drupal/Component/Diff/DiffFormatter.php, line 181

Class

DiffFormatter
A class to format Diffs

Namespace

Drupal\Component\Diff

Code

protected function _changed($orig, $closing) {
  $this->_deleted($orig);
  echo "---\n";
  $this->_added($closing);
}

© 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!Component!Diff!DiffFormatter.php/function/DiffFormatter::_changed/8.1.x