You are here

public function MessageNotifierBase::__construct in Message Notify 7.2

Constructor for the notifier.

Parameters

$plugin: The notifier plugin object. Note the "options" values might have been overriden in message_notify_send_message().

Message $message: The Message entity.

Overrides MessageNotifierInterface::__construct

File

plugins/notifier/abstract.inc, line 68

Class

MessageNotifierBase
An abstract implementation of MessageNotifierInterface.

Code

public function __construct($plugin, Message $message) {
  $this->plugin = $plugin;
  $this->message = $message;
}