/** * {@inheritDoc} */ public function renderFooter($caller, $configOutput, $configOnly = false) { $template = parent::renderFooter($caller, $configOutput); // Doing special stuff for smokygrey: // We hide the debug-tab when we are displaying the config-only and switch // to the config as the current payload. if ($configOnly) { $template = str_replace('{kconfiguration-classes}', '', $template); } else { $template = str_replace('{kconfiguration-classes}', 'khidden', $template); } return $template; }