You are here

public function SetHashCommand::render in Feeds 8.3

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

Overrides CommandInterface::render

File

src/Ajax/SetHashCommand.php, line 32

Class

SetHashCommand
Defines an AJAX command to set the window.hash.

Namespace

Drupal\feeds\Ajax

Code

public function render() {
  return [
    'command' => 'feedsHash',
    'hash' => $this->hash,
  ];
}