You are here

public function HtmlDumper::dump in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Twig/Dumper/HtmlDumper.php \Drupal\webprofiler\Twig\Dumper\HtmlDumper::dump()
  2. 8.2 webprofiler/src/Twig/Dumper/HtmlDumper.php \Drupal\webprofiler\Twig\Dumper\HtmlDumper::dump()
  3. 4.x 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>';
}