You are here

public function MessageQueueItemInterface::setIdentity in Courier 8

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

Set associated identity.

Parameters

\Drupal\Core\Entity\EntityInterface $identity: The identity to set.

Return value

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

1 method overrides MessageQueueItemInterface::setIdentity()
MessageQueueItem::setIdentity in src/Entity/MessageQueueItem.php
Set associated identity.

File

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

Class

MessageQueueItemInterface
Provides an interface defining a courier_message_queue_item entity.

Namespace

Drupal\courier

Code

public function setIdentity(EntityInterface $identity);