public UpdateBuildIdCommand::render()
Return an array to be run through json_encode and sent to the client.
Overrides CommandInterface::render
public function render() {
return [
'command' => 'update_build_id',
'old' => $this->old,
'new' => $this->new,
];
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Ajax!UpdateBuildIdCommand.php/function/UpdateBuildIdCommand::render/8.1.x