You are here

function MailInterface::getHeaders in Simplenews 8

Same name and namespace in other branches
  1. 8.2 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

$headers: The default mail headers.

Return value

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 35

Class

MailInterface
A newsletter mail.

Namespace

Drupal\simplenews\Mail

Code

function getHeaders(array $headers);