You are here

public function MailingList::setOnCancellationMessage in Mailing List 8

Sets the subscription cancellation message.

Parameters

string $message: The new cancellation message.

Overrides MailingListInterface::setOnCancellationMessage

File

src/Entity/MailingList.php, line 203

Class

MailingList
Defines the mailing list configuration entity.

Namespace

Drupal\mailing_list\Entity

Code

public function setOnCancellationMessage($message) {
  $this->cancellation_message = $message;
}