You are here

public function SelectFeedCommandss::render in Heartbeat 8

Return an array to be run through json_encode and sent to the client.

Overrides CommandInterface::render

File

src/Ajax/oldcommand.php, line 14

Class

SelectFeedCommandss

Namespace

Drupal\heartbeat

Code

public function render() {
  return array(
    'command' => 'selectFeed',
    'feed' => $this->message,
  );
}