You are here

public function OpenAutosaveDisabledDialog::render in Autosave Form 8

Implements \Drupal\Core\Ajax\CommandInterface:render().

Overrides OpenDialogCommand::render

File

src/Ajax/OpenAutosaveDisabledDialog.php, line 17

Class

OpenAutosaveDisabledDialog
Defines an AJAX command to open a notification in modal dialog.

Namespace

Drupal\autosave_form\Ajax

Code

public function render() {
  return [
    'command' => 'openAutosaveDisabledDialog',
  ] + parent::render();
}