You are here

public function MessageNotifierBase::setMessage in Message Notify 8

Set the message object for the notifier.

Parameters

\Drupal\message\MessageInterface $message: The message object.

Overrides MessageNotifierInterface::setMessage

File

src/Plugin/Notifier/MessageNotifierBase.php, line 181

Class

MessageNotifierBase
An abstract implementation of MessageNotifierInterface.

Namespace

Drupal\message_notify\Plugin\Notifier

Code

public function setMessage(MessageInterface $message) {
  $this->message = $message;
}