You are here

protected function DiffFormatter::addedLine in Entity Share 8.3

Creates an added line.

Parameters

string $line: An HTML-escaped line.

Return value

array An array representing a table row.

Overrides DiffFormatter::addedLine

File

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

Class

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

Namespace

Drupal\entity_share_diff\Diff

Code

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