You are here

public function Subscriber::setMessage in Simplenews 8.2

Same name and namespace in other branches
  1. 8 src/Entity/Subscriber.php \Drupal\simplenews\Entity\Subscriber::setMessage()
  2. 3.x src/Entity/Subscriber.php \Drupal\simplenews\Entity\Subscriber::setMessage()

File

src/Entity/Subscriber.php, line 69

Class

Subscriber
Defines the simplenews subscriber entity.

Namespace

Drupal\simplenews\Entity

Code

public function setMessage($message) {
  $this
    ->set('message', $message);
}