You are here

function MessageQueueItemInterface::getMessage in Courier 8

Same name and namespace in other branches
  1. 2.x 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 46
Contains \Drupal\courier\MessageQueueItemInterface.

Class

MessageQueueItemInterface
Provides an interface defining a courier_message_queue_item entity.

Namespace

Drupal\courier

Code

function getMessage($entity_type_id);