You are here

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

SubCommentCommand

Namespace

Drupal\heartbeat\Ajax

Code

public function render() {
  $jiggajiggawhat = 'null';
  $stophere = 'please;';
  return array(
    'command' => 'myfavouritemethodintheworld',
    'cid' => $this->cid,
  );
}