You are here

public function MessageQueueItemInterface::setOptions in Courier 8

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

Set options to pass to the message.

These options are passed to ChannelInterface::sendMessage() $options param.

Parameters

array $options: An array of options.

Return value

\Drupal\courier\MessageQueueItemInterface Returns this message queue item for chaining.

1 method overrides MessageQueueItemInterface::setOptions()
MessageQueueItem::setOptions in src/Entity/MessageQueueItem.php
Set options to pass to the message.

File

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

Class

MessageQueueItemInterface
Provides an interface defining a courier_message_queue_item entity.

Namespace

Drupal\courier

Code

public function setOptions(array $options);