protected function EmailHandler::buildPlainBody in Easy Email 2.0.x
Same name and namespace in other branches
- 8 src/Service/EmailHandler.php \Drupal\easy_email\Service\EmailHandler::buildPlainBody()
Parameters
\Drupal\easy_email\Entity\EasyEmailInterface $email:
Return value
array
2 calls to EmailHandler::buildPlainBody()
- EmailHandler::createUnsafeEmailsForRecipients in src/
Service/ EmailHandler.php - EmailHandler::generateEmailParams in src/
Service/ EmailHandler.php
File
- src/
Service/ EmailHandler.php, line 440
Class
Namespace
Drupal\easy_email\ServiceCode
protected function buildPlainBody(EasyEmailInterface $email) {
return [
'#theme' => 'easy_email_body_plain',
'#easy_email' => $email,
];
}