You are here

function MailInterface::getLanguage in Simplenews 8

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

The language that should be used for this newsletter mail.

Return value

string The langcode.

2 methods override MailInterface::getLanguage()
MailEntity::getLanguage in src/Mail/MailEntity.php
The language that should be used for this newsletter mail.
MailTest::getLanguage in src/Mail/MailTest.php
The language that should be used for this newsletter mail.

File

src/Mail/MailInterface.php, line 83

Class

MailInterface
A newsletter mail.

Namespace

Drupal\simplenews\Mail

Code

function getLanguage();