public function PrivateMessageInboxInsertThreadsCommand::render in Private Message 8
Same name and namespace in other branches
- 8.2 src/Ajax/PrivateMessageInboxInsertThreadsCommand.php \Drupal\private_message\Ajax\PrivateMessageInboxInsertThreadsCommand::render()
Return an array to be run through json_encode and sent to the client.
Overrides CommandInterface::render
File
- src/
Ajax/ PrivateMessageInboxInsertThreadsCommand.php, line 32
Class
- PrivateMessageInboxInsertThreadsCommand
- Ajax Command to insert private message inbox threads.
Namespace
Drupal\private_message\AjaxCode
public function render() {
return [
'command' => 'insertInboxOldPrivateMessageThreads',
'threads' => $this->threads,
];
}