You are here

protected function DiffFormatter::contextLine in Entity Share 8.3

Creates a context line.

Parameters

string $line: An HTML-escaped line.

Return value

array An array representing a table row.

Overrides DiffFormatter::contextLine

File

modules/entity_share_diff/src/Diff/DiffFormatter.php, line 57

Class

DiffFormatter
Diff formatter which renders a table, with structured padding in HTML.

Namespace

Drupal\entity_share_diff\Diff

Code

protected function contextLine($line) {
  $output = parent::contextLine($line);
  return $this
    ->improvePadding($output);
}