View source
- # Forena services
- services:
- # Main reporting service for Forena.
- forena.reports:
- class: Drupal\forena\Forena
- factory: Drupal\forena\Forena::service
- # The machine name of the service. This is the string that must be passed to
- # Drupal::service() to get the instantiated plugin manager.
- frxplugin.manager.document:
- # This tells the service container the name of our plugin manager class.
- class: Drupal\forena\FrxDocumentPluginManager
- # The default parameters to pass to the class constructor,
- arguments: ['@container.namespaces', '@cache.default', '@module_handler']
- # Renderer Plugin manager
- frxplugin.manager.renderer:
- # This tells the service container the name of our plugin manager class.
- class: Drupal\forena\FrxRendererPluginManager
- # The default parameters to pass to the class constructor,
- arguments: ['@container.namespaces', '@cache.default', '@module_handler']
- # Ajax Command Plugin manager
- frxplugin.manager.ajax:
- # This tells the service container the name of our plugin manager class.
- class: Drupal\forena\FrxAjaxPluginManager
- # The default parameters to pass to the class constructor,
- arguments: ['@container.namespaces', '@cache.default', '@module_handler']
- # Ajax Command Plugin manager
- frxplugin.manager.context:
- # This tells the service container the name of our plugin manager class.
- class: Drupal\forena\FrxContextPluginManager
- # The default parameters to pass to the class constructor,
- arguments: ['@container.namespaces', '@cache.default', '@module_handler']
- # Provides field formatting service that uses plugins to list provided
- # classes.
- frxplugin.manager.formatter:
- # This tells the service container the name of our plugin manager class.
- class: Drupal\forena\FrxFormatterPluginManager
- # The default parameters to pass to the class constructor,
- arguments: ['@container.namespaces', '@cache.default', '@module_handler']
- # Provides report templateing service that allows definition of custom report
- # plugins
- frxplugin.manager.template:
- # This tells the service container the name of our plugin manager class.
- class: Drupal\forena\FrxTemplatePluginManager
- # The default parameters to pass to the class constructor,
- arguments: ['@container.namespaces', '@cache.default', '@module_handler']
- frxplugin.manager.driver:
- # This tells the service container the name of our plugin manager class.
- class: Drupal\forena\FrxDriverPluginManager
- # The default parameters to pass to the class constructor,
- arguments: ['@container.namespaces', '@cache.default', '@module_handler']