You are here

public function MailInterface::getHeaders in Simplenews 8.2

Same name and namespace in other branches
  1. 8 src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getHeaders()
  2. 3.x src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getHeaders()

Returns the mail headers.

Parameters

array $headers: The default mail headers.

Return value

array Mail headers as an array.

2 methods override MailInterface::getHeaders()
MailEntity::getHeaders in src/Mail/MailEntity.php
Returns the mail headers.
MailTest::getHeaders in src/Mail/MailTest.php
Returns the mail headers.

File

src/Mail/MailInterface.php, line 37

Class

MailInterface
A newsletter mail.

Namespace

Drupal\simplenews\Mail

Code

public function getHeaders(array $headers);