You are here

public function EditorDialogSave::render in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/editor/src/Ajax/EditorDialogSave.php \Drupal\editor\Ajax\EditorDialogSave::render()

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

Overrides CommandInterface::render

File

core/modules/editor/src/Ajax/EditorDialogSave.php, line 40
Contains \Drupal\editor\Ajax\EditorDialogSave.

Class

EditorDialogSave
Provides an AJAX command for saving the contents of an editor dialog.

Namespace

Drupal\editor\Ajax

Code

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