Skip to content

Commit

Permalink
[framework] ensure manually sent mail templates are wrapped with the …
Browse files Browse the repository at this point in the history
…GrapesJS body (#3664)
  • Loading branch information
vitek-rostislav authored Dec 17, 2024
2 parents 43cf620 + 14aaf1f commit dd75ce6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/Model/Mail/MailTemplateFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
* @property \App\Model\Mail\MailTemplateDataFactory $mailTemplateDataFactory
* @property \App\Model\Mail\MailTemplateBuilder $mailTemplateBuilder
* @method __construct(\Doctrine\ORM\EntityManagerInterface $em, \App\Model\Mail\MailTemplateRepository $mailTemplateRepository, \Shopsys\FrameworkBundle\Component\Domain\Domain $domain, \App\Component\UploadedFile\UploadedFileFacade $uploadedFileFacade, \Shopsys\FrameworkBundle\Model\Mail\MailTemplateFactoryInterface $mailTemplateFactory, \App\Model\Mail\MailTemplateDataFactory $mailTemplateDataFactory, \Shopsys\FrameworkBundle\Model\Mail\MailTemplateAttachmentFilepathProvider $mailTemplateAttachmentFilepathProvider, \App\Model\Mail\MailTemplateBuilder $mailTemplateBuilder)
* @method \App\Model\Mail\MailTemplate get(string $templateName, int $domainId)
* @method \App\Model\Mail\MailTemplate getWrappedWithGrapesJsBody(string $templateName, int $domainId)
* @method createMailTemplateForAllDomains(string $name, \App\Model\Order\Status\OrderStatus|null $orderStatus = null, \Shopsys\FrameworkBundle\Model\Complaint\Status\ComplaintStatus|null $complaintStatus = null)
* @method \App\Model\Mail\MailTemplate getTemplateWrappedWithGrapesBody(\App\Model\Mail\MailTemplate $mailTemplate)
*/
class MailTemplateFacade extends BaseMailTemplateFacade
{
Expand Down

0 comments on commit dd75ce6

Please sign in to comment.