You are here

public function MessageNotifyUiSenderSettingsFormBase::setMessage in Message UI 8

Set the message object.

Parameters

\Drupal\message\Entity\Message $message: The message object.

Return value

$this The current object.

File

modules/message_notify_ui/src/MessageNotifyUiSenderSettingsFormBase.php, line 101

Class

MessageNotifyUiSenderSettingsFormBase
Base class for Message notify ui sender settings form plugins.

Namespace

Drupal\message_notify_ui

Code

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