function 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 35

Class

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

Namespace

Drupal\editor\Ajax

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.