You are here

public function MailInterface::getAttachments in Simplenews 3.x

Same name and namespace in other branches
  1. 8.2 src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getAttachments()
  2. 8 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\Mail

Code

public function getAttachments();