You are here

public function MessageQueueItemInterface::getMessage in Courier 2.x

Same name and namespace in other branches
  1. 8 src/MessageQueueItemInterface.php \Drupal\courier\MessageQueueItemInterface::getMessage()

Get message with a channel entity type.

Parameters

string $entity_type_id: A channel entity type ID.

Return value

\Drupal\courier\ChannelInterface|null A message, or NULL.

1 method overrides MessageQueueItemInterface::getMessage()
MessageQueueItem::getMessage in src/Entity/MessageQueueItem.php
Get message with a channel entity type.

File

src/MessageQueueItemInterface.php, line 41

Class

MessageQueueItemInterface
Provides an interface defining a courier_message_queue_item entity.

Namespace

Drupal\courier

Code

public function getMessage($entity_type_id);