function EditorDialogSave::render

Same name in other branches
  1. 8.9.x core/modules/editor/src/Ajax/EditorDialogSave.php \Drupal\editor\Ajax\EditorDialogSave::render()
  2. 10 core/modules/editor/src/Ajax/EditorDialogSave.php \Drupal\editor\Ajax\EditorDialogSave::render()
  3. 11.x core/modules/editor/src/Ajax/EditorDialogSave.php \Drupal\editor\Ajax\EditorDialogSave::render()

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.