protected function EmailHandler::buildPlainBody in Easy Email 8
Same name and namespace in other branches
- 2.0.x 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 439
Class
Namespace
Drupal\easy_email\ServiceCode
protected function buildPlainBody(EasyEmailInterface $email) {
return [
'#theme' => 'easy_email_body_plain',
'#easy_email' => $email,
];
}