public function TestMessage::sendMessage in Courier 8
Same name and namespace in other branches
- 2.x tests/modules/courier_test_message/src/Entity/TestMessage.php \Drupal\courier_test_message\Entity\TestMessage::sendMessage()
Sends this message.
Parameters
array $options: Miscellaneous options to pass to the sender.
Overrides ChannelBase::sendMessage
File
- tests/
modules/ courier_test_message/ src/ Entity/ TestMessage.php, line 86
Class
- TestMessage
- Defines storage for a test message.
Namespace
Drupal\courier_test_message\EntityCode
public function sendMessage(array $options = []) {
$this
->sendMessages([
$this,
], $options);
}