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,
)
);
}
Please login to continue.