You are here

AddCss.php in Forena Reports 8

File

src/FrxPlugin/AjaxCommand/AddCss.php
View source
<?php

/**
 * Created by PhpStorm.
 * User: metzlerd
 * Date: 4/17/16
 * Time: 8:26 AM
 */
namespace Drupal\forena\FrxPlugin\AjaxCommand;

use Drupal\Core\Ajax\AddCssCommand;

/**
 * Add Css wrapper commands
 * 
 * @FrxAjaxCommand(
 *   id = "add_css"
 * )
 */
class AddCss implements AjaxCommandInterface {
  public function commandFromSettings(array $settings) {
    $text = $settings['text'];
    return new AddCssCommand($text);
  }

}

Classes

Namesort descending Description
AddCss Add Css wrapper commands