class CloseModalDialog in Forena Reports 8
Class CloseDialog
Plugin annotation
@FrxAjaxCommand(
id = "closeModalDialog"
)
Hierarchy
- class \Drupal\forena\FrxPlugin\AjaxCommand\AjaxCommandBase implements AjaxCommandInterface
- class \Drupal\forena\FrxPlugin\AjaxCommand\CloseModalDialog
Expanded class hierarchy of CloseModalDialog
File
- src/
FrxPlugin/ AjaxCommand/ CloseModalDialog.php, line 20
Namespace
Drupal\forena\FrxPlugin\AjaxCommandView source
class CloseModalDialog extends AjaxCommandBase {
/**
* Close a dialoge.
* @param array $settings
* Settings for command
* @return CloseModalDialogCommand
* Close modal dialog command object.
*/
public function commandFromSettings(array $settings) {
$selector = $this
->getSetting($settings, 'selector');
$persist = $this
->getSetting($settings, 'persist') !== TRUE;
return new CloseModalDialogCommand($selector, $persist);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AjaxCommandBase:: |
protected static | property | ||
AjaxCommandBase:: |
public | function | Get json text. | |
AjaxCommandBase:: |
public | function | ||
AjaxCommandBase:: |
public static | function | Report Replacer. | |
CloseModalDialog:: |
public | function |
Close a dialoge. Overrides AjaxCommandInterface:: |