class Css in Forena Reports 8
Same name and namespace in other branches
- 7.4 AjaxCommand/Css.php \Drupal\forena\FrxPlugin\AjaxCommand\Css
Class Css
Plugin annotation
@FrxAjaxCommand(
id = "css"
)
Hierarchy
- class \Drupal\forena\FrxPlugin\AjaxCommand\AjaxCommandBase implements AjaxCommandInterface
- class \Drupal\forena\FrxPlugin\AjaxCommand\Css
Expanded class hierarchy of Css
File
- src/
FrxPlugin/ AjaxCommand/ Css.php, line 21
Namespace
Drupal\forena\FrxPlugin\AjaxCommandView source
class Css extends AjaxCommandBase {
/**
* CSS JQuery Command
* @param array $settings
* @return \Drupal\Core\Ajax\CssCommand
*/
public function commandFromSettings(array $settings) {
$selector = $this
->getSetting($settings, 'selector');
$css = $this
->getJSONText($settings, 'css');
return new CssCommand($selector, $css);
}
}
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. | |
Css:: |
public | function |
CSS JQuery Command Overrides AjaxCommandInterface:: |