/** * @inheritdoc */ public function process(array $params, \Smarty_Internal_Template $smarty) { $smarty->smarty->assign('redirect', $this->redirectMessages->getMessage()); return $smarty->smarty->fetch('asset:System/Partials/redirect_message.tpl'); }