You are here

forena.services.yml in Forena Reports 8

File

forena.services.yml
View source
  1. # Forena services
  2. services:
  3. # Main reporting service for Forena.
  4. forena.reports:
  5. class: Drupal\forena\Forena
  6. factory: Drupal\forena\Forena::service
  7. # The machine name of the service. This is the string that must be passed to
  8. # Drupal::service() to get the instantiated plugin manager.
  9. frxplugin.manager.document:
  10. # This tells the service container the name of our plugin manager class.
  11. class: Drupal\forena\FrxDocumentPluginManager
  12. # The default parameters to pass to the class constructor,
  13. arguments: ['@container.namespaces', '@cache.default', '@module_handler']
  14. # Renderer Plugin manager
  15. frxplugin.manager.renderer:
  16. # This tells the service container the name of our plugin manager class.
  17. class: Drupal\forena\FrxRendererPluginManager
  18. # The default parameters to pass to the class constructor,
  19. arguments: ['@container.namespaces', '@cache.default', '@module_handler']
  20. # Ajax Command Plugin manager
  21. frxplugin.manager.ajax:
  22. # This tells the service container the name of our plugin manager class.
  23. class: Drupal\forena\FrxAjaxPluginManager
  24. # The default parameters to pass to the class constructor,
  25. arguments: ['@container.namespaces', '@cache.default', '@module_handler']
  26. # Ajax Command Plugin manager
  27. frxplugin.manager.context:
  28. # This tells the service container the name of our plugin manager class.
  29. class: Drupal\forena\FrxContextPluginManager
  30. # The default parameters to pass to the class constructor,
  31. arguments: ['@container.namespaces', '@cache.default', '@module_handler']
  32. # Provides field formatting service that uses plugins to list provided
  33. # classes.
  34. frxplugin.manager.formatter:
  35. # This tells the service container the name of our plugin manager class.
  36. class: Drupal\forena\FrxFormatterPluginManager
  37. # The default parameters to pass to the class constructor,
  38. arguments: ['@container.namespaces', '@cache.default', '@module_handler']
  39. # Provides report templateing service that allows definition of custom report
  40. # plugins
  41. frxplugin.manager.template:
  42. # This tells the service container the name of our plugin manager class.
  43. class: Drupal\forena\FrxTemplatePluginManager
  44. # The default parameters to pass to the class constructor,
  45. arguments: ['@container.namespaces', '@cache.default', '@module_handler']
  46. frxplugin.manager.driver:
  47. # This tells the service container the name of our plugin manager class.
  48. class: Drupal\forena\FrxDriverPluginManager
  49. # The default parameters to pass to the class constructor,
  50. arguments: ['@container.namespaces', '@cache.default', '@module_handler']