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
1 2 3 4 5 6 7 8 9 10 11 12 | 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.