public function CloseModalDialog::commandFromSettings in Forena Reports 8
Close a dialoge.
Parameters
array $settings: Settings for command
Return value
CloseModalDialogCommand Close modal dialog command object.
Overrides AjaxCommandInterface::commandFromSettings
File
- src/
FrxPlugin/ AjaxCommand/ CloseModalDialog.php, line 29
Class
- CloseModalDialog
- Class CloseDialog
Namespace
Drupal\forena\FrxPlugin\AjaxCommandCode
public function commandFromSettings(array $settings) {
$selector = $this
->getSetting($settings, 'selector');
$persist = $this
->getSetting($settings, 'persist') !== TRUE;
return new CloseModalDialogCommand($selector, $persist);
}