public function AppService::getDriverPlugins in Forena Reports 8
1 method overrides AppService::getDriverPlugins()
- TestingAppService::getDriverPlugins in tests/
src/ Unit/ Mock/ TestingAppService.php
File
- src/
AppService.php, line 148
Class
Namespace
Drupal\forenaCode
public function getDriverPlugins() {
$driver_plugins = [];
/** @var FrxDriverPluginManager $pm */
$pm = \Drupal::service('frxplugin.manager.driver');
$plugins = $pm
->getDefinitions();
foreach ($plugins as $plugin) {
$id = $plugin['id'];
$class = $plugin['class'];
$driver_plugins[$id] = $class;
}
return $driver_plugins;
}