You are here

public function AjaxReloadCommand::render in Workbench Moderation Actions 8

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

Overrides CommandInterface::render

File

src/AjaxReloadCommand.php, line 15

Class

AjaxReloadCommand
Tells the client to perform an AJAX reload.

Namespace

Drupal\workbench_moderation_actions

Code

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