You are here

public function ReloadCommand::render in Flexiform 8

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

Overrides CommandInterface::render

File

src/Ajax/ReloadCommand.php, line 15

Class

ReloadCommand
Provides the reload AJAX command.

Namespace

Drupal\flexiform\Ajax

Code

public function render() {
  return [
    'command' => 'reload',
  ];
}