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