/** * Manually set a theme that will be used by getParams * * Used to force the loading of an email template from a specific theme * * @param string $templateId * @param string $theme * @return $this */ public function setForcedTheme($templateId, $theme) { $area = $this->emailConfig->getTemplateArea($templateId); $this->design->setDesignTheme($theme, $area); return $this; }
public function testGetTemplateArea() { $this->assertEquals('frontend', $this->model->getTemplateArea('template_one')); }