class Alert in Forena Reports 7.4
Same name and namespace in other branches
- 8 src/FrxPlugin/AjaxCommand/Alert.php \Drupal\forena\FrxPlugin\AjaxCommand\Alert
Alert
Plugin annotation
@FrxAjaxCommand(
id = "alert"
)
Hierarchy
- class \Drupal\forena\FrxPlugin\AjaxCommand\AjaxCommandBase implements AjaxCommandInterface
- class \Drupal\forena\FrxPlugin\AjaxCommand\Alert
Expanded class hierarchy of Alert
1 string reference to 'Alert'
File
- AjaxCommand/
Alert.php, line 18
Namespace
Drupal\forena\FrxPlugin\AjaxCommandView source
class Alert extends AjaxCommandBase {
/**
*
* @param array $settings
*
* Settings:
* - text: The text message to use in the alert.
*/
public function commandFromSettings(array $settings) {
$text = $this
->getSetting($settings, 'text');
return ajax_command_alert($text);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AjaxCommandBase:: |
protected | property | ||
AjaxCommandBase:: |
public | function | ||
AjaxCommandBase:: |
public | function | ||
AjaxCommandBase:: |
public | function | AjaxCommandBase constructor. | |
Alert:: |
public | function |
Overrides AjaxCommandInterface:: |