Remove.php in Forena Reports 7.4
Namespace
Drupal\forena\FrxPlugin\AjaxCommandFile
AjaxCommand/Remove.phpView source
<?php
/**
* Created by PhpStorm.
* User: metzlerd
* Date: 4/17/16
* Time: 5:55 PM
*/
namespace Drupal\forena\FrxPlugin\AjaxCommand;
/**
* Class Remove
*
* @FrxAjaxCommand(
* id = "remove"
* )
*/
class Remove extends AjaxCommandBase {
public function commandFromSettings(array $settings) {
$selector = $this
->getSetting($settings, 'selector');
return ajax_command_remove($selector);
}
}