public function PrivateMessageLoadNewMessagesCommand::render in Private Message 8.2
Same name and namespace in other branches
- 8 src/Ajax/PrivateMessageLoadNewMessagesCommand.php \Drupal\private_message\Ajax\PrivateMessageLoadNewMessagesCommand::render()
Return an array to be run through json_encode and sent to the client.
Overrides CommandInterface::render
File
- src/
Ajax/ PrivateMessageLoadNewMessagesCommand.php, line 15
Class
- PrivateMessageLoadNewMessagesCommand
- Ajax Command to trigger a load of new private messages into a thread.
Namespace
Drupal\private_message\AjaxCode
public function render() {
return [
'command' => 'loadNewPrivateMessages',
];
}