DiffFormatter::$trailing_context_lines
Same name in other branches
- 9 core/lib/Drupal/Component/Diff/DiffFormatter.php \Drupal\Component\Diff\DiffFormatter::trailing_context_lines
- 10 core/lib/Drupal/Component/Diff/DiffFormatter.php \Drupal\Component\Diff\DiffFormatter::trailing_context_lines
- 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\DiffCode
public $trailing_context_lines = 0;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.