DiffFormatter::__construct

public DiffFormatter::__construct(ConfigFactoryInterface $config_factory) Creates a DiffFormatter to render diffs in a table. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory. File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 38 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code public function __construct(ConfigFactoryInterface $config_factory) { $config = $confi

DiffFormatter::_start_diff

protected DiffFormatter::_start_diff() File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 133 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _start_diff() { ob_start(); }

DiffFormatter::_start_diff

protected DiffFormatter::_start_diff() Overrides DiffFormatter::_start_diff File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 47 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected function _start_diff() { $this->rows = array(); }

DiffFormatter::_start_block

protected DiffFormatter::_start_block($header) File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 154 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _start_block($header) { if ($this->show_header) { echo $header . "\n"; } }

DiffFormatter::_start_block

protected DiffFormatter::_start_block($header) Overrides DiffFormatter::_start_block File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 77 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected function _start_block($header) { if ($this->show_header) { $this->rows[] = $header; } }

DiffFormatter::_lines

protected DiffFormatter::_lines($lines, $prefix = ' ') File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 163 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _lines($lines, $prefix = ' ') { foreach ($lines as $line) { echo "$prefix $line\n"; } }

DiffFormatter::_lines

protected DiffFormatter::_lines($lines, $prefix = ' ', $color = 'white') Overrides DiffFormatter::_lines File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 86 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected function _lines($lines, $prefix = ' ', $color = 'white') { }

DiffFormatter::_end_diff

protected DiffFormatter::_end_diff() File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 137 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _end_diff() { $val = ob_get_contents(); ob_end_clean(); return $val; }

DiffFormatter::_end_diff

protected DiffFormatter::_end_diff() Overrides DiffFormatter::_end_diff File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 54 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected function _end_diff() { return $this->rows; }

DiffFormatter::_end_block

protected DiffFormatter::_end_block() File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 160 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _end_block() { }