You are here

public function PrivateMessageMapperInterface::getThreadIdFromMessage in Private Message 8.2

Same name and namespace in other branches
  1. 8 src/Mapper/PrivateMessageMapperInterface.php \Drupal\private_message\Mapper\PrivateMessageMapperInterface::getThreadIdFromMessage()

Load the thread id of the thread that a private message belongs to.

Parameters

Drupal\private_message\Entity\PrivateMessageInterface $privateMessage: The private message for which the thread ID of the thread it belongs to should be returned.

Return value

int The private message thread ID of the thread to which the private message belongs.

1 method overrides PrivateMessageMapperInterface::getThreadIdFromMessage()
PrivateMessageMapper::getThreadIdFromMessage in src/Mapper/PrivateMessageMapper.php
Load the thread id of the thread that a private message belongs to.

File

src/Mapper/PrivateMessageMapperInterface.php, line 153

Class

PrivateMessageMapperInterface
Interface for the Private Message Thread mapper class.

Namespace

Drupal\private_message\Mapper

Code

public function getThreadIdFromMessage(PrivateMessageInterface $privateMessage);