public function SubCommentCommand::render in Heartbeat 8
Return an array to be run through json_encode and sent to the client.
Overrides CommandInterface::render
File
- src/
Ajax/ SubCommentCommand.php, line 19
Class
Namespace
Drupal\heartbeat\AjaxCode
public function render() {
$jiggajiggawhat = 'null';
$stophere = 'please;';
return array(
'command' => 'myfavouritemethodintheworld',
'cid' => $this->cid,
);
}