class CloseDialog in Forena Reports 8
Class CloseDialog
Plugin annotation
@FrxAjaxCommand(
id = "closeDialog"
)
Hierarchy
- class \Drupal\forena\FrxPlugin\AjaxCommand\AjaxCommandBase implements AjaxCommandInterface
- class \Drupal\forena\FrxPlugin\AjaxCommand\CloseDialog
Expanded class hierarchy of CloseDialog
File
- src/
FrxPlugin/ AjaxCommand/ CloseDialog.php, line 19
Namespace
Drupal\forena\FrxPlugin\AjaxCommandView source
class CloseDialog extends AjaxCommandBase {
/**
* Close a dialoge.
* @param array $settings
* Settings for command
* @return CloseDialogCommand
* Close dialog ajax command object.
*/
public function commandFromSettings(array $settings) {
$selector = $this
->getSetting($settings, 'selector');
$persist = $this
->getSetting($settings, 'persist') !== TRUE;
return new CloseDialogCommand($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. | |
CloseDialog:: |
public | function |
Close a dialoge. Overrides AjaxCommandInterface:: |