protected function EmailHandler::hasInboxPreview in Easy Email 8
Same name and namespace in other branches
- 2.0.x src/Service/EmailHandler.php \Drupal\easy_email\Service\EmailHandler::hasInboxPreview()
Parameters
\Drupal\easy_email\Entity\EasyEmailInterface $email:
Return value
bool
1 call to EmailHandler::hasInboxPreview()
- EmailHandler::buildHtmlBody in src/
Service/ EmailHandler.php
File
- src/
Service/ EmailHandler.php, line 393
Class
Namespace
Drupal\easy_email\ServiceCode
protected function hasInboxPreview(EasyEmailInterface $email) {
return $email
->hasField('inbox_preview') && !empty($email
->getInboxPreview());
}