class OpenAutosaveDisabledDialog in Autosave Form 8
Defines an AJAX command to open a notification in modal dialog.
Hierarchy
- class \Drupal\Core\Ajax\OpenDialogCommand implements CommandInterface, CommandWithAttachedAssetsInterface uses CommandWithAttachedAssetsTrait
- class \Drupal\Core\Ajax\OpenModalDialogCommand
- class \Drupal\autosave_form\Ajax\OpenAutosaveDisabledDialog
- class \Drupal\Core\Ajax\OpenModalDialogCommand
Expanded class hierarchy of OpenAutosaveDisabledDialog
1 file declares its use of OpenAutosaveDisabledDialog
File
- src/
Ajax/ OpenAutosaveDisabledDialog.php, line 12
Namespace
Drupal\autosave_form\AjaxView source
class OpenAutosaveDisabledDialog extends OpenModalDialogCommand {
/**
* {@inheritdoc}
*/
public function render() {
return [
'command' => 'openAutosaveDisabledDialog',
] + parent::render();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CommandWithAttachedAssetsTrait:: |
protected | property | The attached assets for this Ajax command. | |
CommandWithAttachedAssetsTrait:: |
public | function | Gets the attached assets. | |
CommandWithAttachedAssetsTrait:: |
protected | function | Processes the content for output. | |
OpenAutosaveDisabledDialog:: |
public | function |
Implements \Drupal\Core\Ajax\CommandInterface:render(). Overrides OpenDialogCommand:: |
|
OpenDialogCommand:: |
protected | property | The content for the dialog. | |
OpenDialogCommand:: |
protected | property | Stores dialog-specific options passed directly to jQuery UI dialogs. Any jQuery UI option can be used. See http://api.jqueryui.com/dialog. | |
OpenDialogCommand:: |
protected | property | The selector of the dialog. | |
OpenDialogCommand:: |
protected | property | Custom settings that will be passed to the Drupal behaviors on the content of the dialog. | |
OpenDialogCommand:: |
protected | property | The title of the dialog. | |
OpenDialogCommand:: |
public | function | Returns the dialog options. | |
OpenDialogCommand:: |
public | function | Sets a single dialog option value. | |
OpenDialogCommand:: |
public | function | Sets the dialog options array. | |
OpenDialogCommand:: |
public | function | Sets the dialog title (an alias of setDialogOptions). | |
OpenModalDialogCommand:: |
public | function |
Constructs an OpenModalDialog object. Overrides OpenDialogCommand:: |