public function PrivateMessageInsertPreviousMessagesCommand::render in Private Message 8.2
Return an array to be run through json_encode and sent to the client.
Overrides PrivateMessageInsertMessagesCommand::render
File
- src/
Ajax/ PrivateMessageInsertPreviousMessagesCommand.php, line 35
Class
- PrivateMessageInsertPreviousMessagesCommand
- Class to insert older private messages into a private message thread.
Namespace
Drupal\private_message\AjaxCode
public function render() {
$return = parent::render();
$return['hasNext'] = $this->hasNext;
return $return;
}