You are here

public function UpdateFlowchartCommand::render in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Ajax/UpdateFlowchartCommand.php \Drupal\business_rules\Ajax\UpdateFlowchartCommand::render()

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

Overrides CommandInterface::render

File

src/Ajax/UpdateFlowchartCommand.php, line 17

Class

UpdateFlowchartCommand
Ajax command to update flowchart.

Namespace

Drupal\business_rules\Ajax

Code

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