You are here

OpenAutosaveDisabledDialog.php in Autosave Form 8

File

src/Ajax/OpenAutosaveDisabledDialog.php
View source
<?php

namespace Drupal\autosave_form\Ajax;

use Drupal\Core\Ajax\OpenModalDialogCommand;

/**
 * Defines an AJAX command to open a notification in modal dialog.
 *
 * @ingroup ajax
 */
class OpenAutosaveDisabledDialog extends OpenModalDialogCommand {

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

}

Classes

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