public function PrivateMessageServiceInterface::getFirstThreadForUser in Private Message 8.2
Same name and namespace in other branches
- 8 src/Service/PrivateMessageServiceInterface.php \Drupal\private_message\Service\PrivateMessageServiceInterface::getFirstThreadForUser()
Get the most recently updated thread for the given user.
Parameters
\Drupal\user\Entity\UserInterface $user: The user whose most recently updated thread should be retrieved.
1 method overrides PrivateMessageServiceInterface::getFirstThreadForUser()
- PrivateMessageService::getFirstThreadForUser in src/
Service/ PrivateMessageService.php - Get the most recently updated thread for the given user.
File
- src/
Service/ PrivateMessageServiceInterface.php, line 46
Class
- PrivateMessageServiceInterface
- The interface for the Private Message Service.
Namespace
Drupal\private_message\ServiceCode
public function getFirstThreadForUser(UserInterface $user);