public function MailInterface::getAttachments in Simplenews 8.2
Same name and namespace in other branches
- 8 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 - Returns an array of attachments for this newsletter mail.
- MailTest::getAttachments in src/
Mail/ MailTest.php - Returns an array of attachments for this newsletter mail.
File
- src/
Mail/ MailInterface.php, line 93
Class
- MailInterface
- A newsletter mail.
Namespace
Drupal\simplenews\MailCode
public function getAttachments();