function MailInterface::getAttachments in Simplenews 8
Same name and namespace in other branches
- 8.2 src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getAttachments()
- 3.x src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getAttachments()
Returns an array of attachments for this newsletter mail.
Return value
array An array of managed file objects with properties uri, filemime and so on.
2 methods override MailInterface::getAttachments()
- MailEntity::getAttachments in src/
Mail/ MailEntity.php - {@inhertidoc}
- MailTest::getAttachments in src/
Mail/ MailTest.php - Returns an array of attachments for this newsletter mail.
File
- src/
Mail/ MailInterface.php, line 91
Class
- MailInterface
- A newsletter mail.
Namespace
Drupal\simplenews\MailCode
function getAttachments();