You are here

After.php in Forena Reports 8

File

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

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

use Drupal\Core\Ajax\AfterCommand;

/**
 * Class After
 * 
 * @FrxAjaxCommand(
 *   id = "after"
 * )
 */
class After extends AjaxCommandBase {

  /**
   * {@inheritdoc}
   */
  public function commandFromSettings(array $settings) {
    $selector = $this
      ->getSetting($settings, 'selector');
    $text = $this
      ->getSetting($settings, 'text');
    return new AfterCommand($selector, $text, $settings);
  }

}

Classes

Namesort descending Description
After Class After