From a00cb9f556377bc6057d37d0cfb4e6d8eb76964e Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Fri, 24 Oct 2014 19:17:21 +1100 Subject: [PATCH] (7:15:01 PM) Flynsarmy: i feel component should also show the subheader too --- modules/cms/twig/DebugExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cms/twig/DebugExtension.php b/modules/cms/twig/DebugExtension.php index 53a134cc2..d0c79de1e 100644 --- a/modules/cms/twig/DebugExtension.php +++ b/modules/cms/twig/DebugExtension.php @@ -107,7 +107,7 @@ class DebugExtension extends Twig_Extension $var = func_get_arg($i); if ($var instanceof ComponentBase) { - $caption = static::COMPONENT_CAPTION; + $caption = [static::COMPONENT_CAPTION, get_class($var)]; } elseif (is_array($var)) { $caption = static::ARRAY_CAPTION; } else {