You are here

public function MessageQueueItemInterface::getMessages in Courier 8

Same name and namespace in other branches
  1. 2.x src/MessageQueueItemInterface.php \Drupal\courier\MessageQueueItemInterface::getMessages()

Get all messages associated with this message queue item.

The order of the messages is meaningful. The first successful message in the list will terminate the remaining messages.

Return value

\Drupal\courier\ChannelInterface[] An array of template entities.

1 method overrides MessageQueueItemInterface::getMessages()
MessageQueueItem::getMessages in src/Entity/MessageQueueItem.php
Get all messages associated with this message queue item.

File

src/MessageQueueItemInterface.php, line 57
Contains \Drupal\courier\MessageQueueItemInterface.

Class

MessageQueueItemInterface
Provides an interface defining a courier_message_queue_item entity.

Namespace

Drupal\courier

Code

public function getMessages();