OpenAutosaveDisabledDialog.php in Autosave Form 8
Namespace
Drupal\autosave_form\AjaxFile
src/Ajax/OpenAutosaveDisabledDialog.phpView 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
Name | Description |
---|---|
OpenAutosaveDisabledDialog | Defines an AJAX command to open a notification in modal dialog. |