DiffFormatter::_block_header

protected DiffFormatter::_block_header($xbeg, $xlen, $ybeg, $ylen)

Overrides DiffFormatter::_block_header

File

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

Class

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

Namespace

Drupal\Core\Diff

Code

protected 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,
    )
  );
}
doc_Drupal
2016-10-29 09:02:25
Comments
Leave a Comment

Please login to continue.