EditorDialogSave

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

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.
doc_Drupal
2016-10-29 09:03:46
Comments
Leave a Comment

Please login to continue.