/** * {@inheritdoc} */ protected function createDebugAsseticNode(\Twig_NodeInterface $body, array $filters, array $attributes, $lineno) { $currentTheme = $this->themeRegistry->getActiveTheme()->getName(); $this->themeRegistry->setActiveTheme(ThemeListener::FRONTEND_THEME); $node = parent::createDebugAsseticNode($body, $filters, $attributes, $lineno); $this->themeRegistry->setActiveTheme($currentTheme); return $node; }