class AddCss in Forena Reports 7.4
Same name and namespace in other branches
- 8 src/FrxPlugin/AjaxCommand/AddCss.php \Drupal\forena\FrxPlugin\AjaxCommand\AddCss
Add Css wrapper commands
Plugin annotation
@FrxAjaxCommand(
id = "add_css"
)
Hierarchy
- class \Drupal\forena\FrxPlugin\AjaxCommand\AddCss implements AjaxCommandInterface
Expanded class hierarchy of AddCss
1 string reference to 'AddCss'
File
- AjaxCommand/
AddCss.php, line 18
Namespace
Drupal\forena\FrxPlugin\AjaxCommandView source
class AddCss implements AjaxCommandInterface {
public function commandFromSettings(array $settings) {
$text = $settings['text'];
return ajax_command_add_css($text);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AddCss:: |
public | function |
Settings are passed into this factory from either the skin or the report
element. If there are complex structures when used in the arguments they
will be passed in the 'text' setting. These should be decoded by any
plugin intending to use… Overrides AjaxCommandInterface:: |