protected function HtmlDumper::formatTemplate in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/Twig/Dumper/HtmlDumper.php \Drupal\webprofiler\Twig\Dumper\HtmlDumper::formatTemplate()
- 8 webprofiler/src/Twig/Dumper/HtmlDumper.php \Drupal\webprofiler\Twig\Dumper\HtmlDumper::formatTemplate()
- 4.x webprofiler/src/Twig/Dumper/HtmlDumper.php \Drupal\webprofiler\Twig\Dumper\HtmlDumper::formatTemplate()
File
- webprofiler/
src/ Twig/ Dumper/ HtmlDumper.php, line 24
Class
- HtmlDumper
- Class HtmlDumper
Namespace
Drupal\webprofiler\Twig\DumperCode
protected function formatTemplate(\Twig_Profiler_Profile $profile, $prefix) {
return sprintf('%s└ <span style="background-color: %s">%s</span>', $prefix, self::$colors['template'], $profile
->getTemplate());
}