FrxAjaxPluginManager.php in Forena Reports 8
File
src/FrxAjaxPluginManager.php
View source
<?php
namespace Drupal\forena;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Plugin\DefaultPluginManager;
class FrxAjaxPluginManager extends DefaultPluginManager {
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
$subdir = 'FrxPlugin/AjaxCommand';
$plugin_interface = 'Drupal\\forena\\FrxPlugin\\AjaxCommand\\AjaxCommandInterface';
$plugin_definition_annotation_name = 'Drupal\\forena\\Annotation\\FrxAjaxCommand';
parent::__construct($subdir, $namespaces, $module_handler, $plugin_interface, $plugin_definition_annotation_name);
$this
->alterInfo('frx_ajax_command_info');
$this
->setCacheBackend($cache_backend, 'frx_ajax_command_info');
}
}