W3cubDocs

/Drupal 8

public property DiffFormatter::$leading_context_lines

Number of leading context "lines" to preserve.

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

File

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

Class

DiffFormatter
A class to format Diffs

Namespace

Drupal\Component\Diff

Code

public $leading_context_lines = 0;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Diff!DiffFormatter.php/property/DiffFormatter::leading_context_lines/8.1.x