Provides an AJAX command for saving the contents of an editor dialog.
This command is implemented in editor.dialog.js in Drupal.AjaxCommands.prototype.editorDialogSave.
Hierarchy
- class \Drupal\editor\Ajax\EditorDialogSave implements CommandInterface
File
- core/modules/editor/src/Ajax/EditorDialogSave.php, line 13
Namespace
Drupal\editor\Ajax
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EditorDialogSave::$values | protected | property | An array of values that will be passed back to the editor by the dialog. |
EditorDialogSave::render | public | function | Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render |
EditorDialogSave::__construct | public | function | Constructs a EditorDialogSave object. |
Please login to continue.