public function MessageQueueItem::getIdentity in Courier 8
Same name and namespace in other branches
- 2.x src/Entity/MessageQueueItem.php \Drupal\courier\Entity\MessageQueueItem::getIdentity()
Get associated identity.
Return value
\Drupal\Core\Entity\EntityInterface An identity entity.
Overrides MessageQueueItemInterface::getIdentity
File
- src/
Entity/ MessageQueueItem.php, line 31
Class
- MessageQueueItem
- Defines a Message queue item entity.
Namespace
Drupal\courier\EntityCode
public function getIdentity() {
return $this
->get('identity')->entity;
}