You are here

class UpdateFlowchartCommand in Business Rules 8

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

Ajax command to update flowchart.

@package Drupal\business_rules\Ajax

Hierarchy

Expanded class hierarchy of UpdateFlowchartCommand

5 files declare their use of UpdateFlowchartCommand
ActionSetController.php in src/Controller/ActionSetController.php
BusinessRulesItemsController.php in src/Controller/BusinessRulesItemsController.php
ConditionSetController.php in src/Controller/ConditionSetController.php
ConditionsItemsController.php in src/Controller/ConditionsItemsController.php
ScheduleTaskController.php in src/Controller/ScheduleTaskController.php

File

src/Ajax/UpdateFlowchartCommand.php, line 12

Namespace

Drupal\business_rules\Ajax
View source
class UpdateFlowchartCommand implements CommandInterface {

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

}

Members

Namesort descending Modifiers Type Description Overrides
UpdateFlowchartCommand::render public function Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render