public function EasyEmail::getInboxPreview in Easy Email 8
Same name and namespace in other branches
- 2.0.x src/Entity/EasyEmail.php \Drupal\easy_email\Entity\EasyEmail::getInboxPreview()
@inheritDoc
Overrides EasyEmailInterface::getInboxPreview
File
- src/
Entity/ EasyEmail.php, line 588
Class
- EasyEmail
- Defines the Email entity.
Namespace
Drupal\easy_email\EntityCode
public function getInboxPreview() {
if ($this
->hasField('inbox_preview')) {
return $this
->get('inbox_preview')->value;
}
return NULL;
}