You are here

Changed.php in Forena Reports 8

File

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

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

use Drupal\Core\Ajax\ChangedCommand;

/**
 * Class Changed
 * 
 * @FrxAjaxCommand(
 *   id = "changed"
 * )
 */
class Changed extends AjaxCommandBase {

  /**
   * Changed command
   *
   * Propierties
   *
   * @param array $settings
   * @return \Drupal\Core\Ajax\ChangedCommand
   *
   */
  public function commandFromSettings(array $settings) {
    $selector = $this
      ->getSetting($settings, 'selector');
    $asterisk = $this
      ->getSetting($settings, 'asterisk');
    return new ChangedCommand($selector, $asterisk);
  }

}

Classes

Namesort descending Description
Changed Class Changed