You are here

public function MessageNotifierTest::deliver in Message Notify 7.2

Deliver a message via the required transport method.

Parameters

$output: Array keyed by the view mode, and the rendered entity in the specified view mode.

Return value

TRUE or FALSE based on delivery status.

Overrides MessageNotifierBase::deliver

File

tests/plugins/notifier/MessageNotifierTest.class.php, line 8

Class

MessageNotifierTest
Test notifier.

Code

public function deliver(array $output = array()) {
  $this->message->output = $output;

  // Return TRUE or FALSE as it was set on the Message.
  return empty($this->fail);
}