function DiffFormatter::_start_block

1 call to DiffFormatter::_start_block()
DiffFormatter::_block in drupal/core/lib/Drupal/Component/Diff/DiffEngine.php
1 method overrides DiffFormatter::_start_block()
DrupalDiffFormatter::_start_block in drupal/core/lib/Drupal/Component/Diff/DiffEngine.php

File

drupal/core/lib/Drupal/Component/Diff/DiffEngine.php, line 906
A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)

Class

DiffFormatter
A class to format Diffs

Code

function _start_block($header) {
  if ($this->show_header) {
    echo $header . "\n";
  }
}