You are here

public function FieldFormSavedCommand::render in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/quickedit/src/Ajax/FieldFormSavedCommand.php \Drupal\quickedit\Ajax\FieldFormSavedCommand::render()

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

Overrides BaseCommand::render

File

core/modules/quickedit/src/Ajax/FieldFormSavedCommand.php, line 44
Contains \Drupal\quickedit\Ajax\FieldFormSavedCommand.

Class

FieldFormSavedCommand
AJAX command to indicate a field was saved into PrivateTempStore without validation errors and pass the rerendered field to Quick Edit's JavaScript app.

Namespace

Drupal\quickedit\Ajax

Code

public function render() {
  return array(
    'command' => $this->command,
    'data' => $this->data,
    'other_view_modes' => $this->other_view_modes,
  );
}