public function EditorDialogSave::render in Drupal 8
Same name and namespace in other branches
- 9 core/modules/editor/src/Ajax/EditorDialogSave.php \Drupal\editor\Ajax\EditorDialogSave::render()
- 10 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 35 
Class
- EditorDialogSave
- Provides an AJAX command for saving the contents of an editor dialog.
Namespace
Drupal\editor\AjaxCode
public function render() {
  return [
    'command' => 'editorDialogSave',
    'values' => $this->values,
  ];
}