You are here

public function OpignoNotification::setMessage in Opigno notifications 8

Same name and namespace in other branches
  1. 3.x src/Entity/OpignoNotification.php \Drupal\opigno_notification\Entity\OpignoNotification::setMessage()

Sets the notification message.

Parameters

string $value: The notification message.

Return value

\Drupal\opigno_notification\OpignoNotificationInterface The called notification entity.

Overrides OpignoNotificationInterface::setMessage

File

src/Entity/OpignoNotification.php, line 188

Class

OpignoNotification
Defines the opigno_notification entity.

Namespace

Drupal\opigno_notification\Entity

Code

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