public function PrivateMessageThreadInterface::addMessageById in Private Message 8
Same name and namespace in other branches
- 8.2 src/Entity/PrivateMessageThreadInterface.php \Drupal\private_message\Entity\PrivateMessageThreadInterface::addMessageById()
Add a private message by ID to the list of the messages in this thread.
Parameters
int $id: The ID of the private message to be added to the thread.
1 method overrides PrivateMessageThreadInterface::addMessageById()
- PrivateMessageThread::addMessageById in src/
Entity/ PrivateMessageThread.php - Add a private message by ID to the list of the messages in this thread.
File
- src/
Entity/ PrivateMessageThreadInterface.php, line 72
Class
- PrivateMessageThreadInterface
- Provides an interface defining a Private Message thread entity.
Namespace
Drupal\private_message\EntityCode
public function addMessageById($id);