function DrupalDiffFormatter::_block_header

Overrides DiffFormatter::_block_header

File

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

Class

DrupalDiffFormatter
Diff formatter which uses Drupal theme functions. @private @subpackage DifferenceEngine

Code

function _block_header($xbeg, $xlen, $ybeg, $ylen) {
  return array(
    array(
      'data' => $xbeg + $this->line_stats['offset']['x'],
      'colspan' => 2,
    ),
    array(
      'data' => $ybeg + $this->line_stats['offset']['y'],
      'colspan' => 2,
    ),
  );
}