DiffFormatter::$trailing_context_lines

Same name in other branches
  1. 9 core/lib/Drupal/Component/Diff/DiffFormatter.php \Drupal\Component\Diff\DiffFormatter::trailing_context_lines
  2. 10 core/lib/Drupal/Component/Diff/DiffFormatter.php \Drupal\Component\Diff\DiffFormatter::trailing_context_lines
  3. 11.x core/lib/Drupal/Component/Diff/DiffFormatter.php \Drupal\Component\Diff\DiffFormatter::trailing_context_lines

Number of trailing context "lines" to preserve.

This should be left at zero for this class, but subclasses may want to set this to other values.

Type: trailing_context_lines

File

core/lib/Drupal/Component/Diff/DiffFormatter.php, line 37

Class

DiffFormatter
A class to format Diffs

Namespace

Drupal\Component\Diff

Code

public $trailing_context_lines = 0;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.