You are here

public function HtmlDumper::dump in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Twig/Dumper/HtmlDumper.php \Drupal\webprofiler\Twig\Dumper\HtmlDumper::dump()
  2. 8 webprofiler/src/Twig/Dumper/HtmlDumper.php \Drupal\webprofiler\Twig\Dumper\HtmlDumper::dump()
  3. 8.2 webprofiler/src/Twig/Dumper/HtmlDumper.php \Drupal\webprofiler\Twig\Dumper\HtmlDumper::dump()

File

webprofiler/src/Twig/Dumper/HtmlDumper.php, line 20

Class

HtmlDumper
Class HtmlDumper.

Namespace

Drupal\webprofiler\Twig\Dumper

Code

public function dump(\Twig_Profiler_Profile $profile) {
  return '<pre class="h--word-intact"><code class="code--json">' . parent::dump($profile) . '</code></pre>';
}