Skip to content
Snippets Groups Projects
Commit 72fc7ea2 authored by Adam Shepherd's avatar Adam Shepherd
Browse files

Add @todo comment

parent 2e91b1c6
Branches
Tags
No related merge requests found
......@@ -78,6 +78,7 @@ class ContactPageEmailBuilder extends ContactEmailBuilderBase {
$email->setVariable('form', $email->getEntity()->label())
->setVariable('form_url', Url::fromRoute('<current>')->toString());
// @todo: This should also be moved to mailer policy with an import.
if ($email->getSubType() == 'autoreply') {
$email->setBody($email->getEntity()->getReply());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment