Changed.php in Forena Reports 8
Namespace
Drupal\forena\FrxPlugin\AjaxCommandFile
src/FrxPlugin/AjaxCommand/Changed.phpView 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);
}
}