You are here

simple_sitemap.services.yml in Simple XML sitemap 8.2

Same filename and directory in other branches
  1. 8.3 simple_sitemap.services.yml
  2. 4.x simple_sitemap.services.yml

File

simple_sitemap.services.yml
View source
  1. services:
  2. simple_sitemap.generator:
  3. class: Drupal\simple_sitemap\Simplesitemap
  4. public: true
  5. arguments:
  6. - '@simple_sitemap.sitemap_generator'
  7. - '@simple_sitemap.entity_helper'
  8. - '@config.factory'
  9. - '@database'
  10. - '@entity_type.manager'
  11. - '@path.validator'
  12. - '@date.formatter'
  13. - '@datetime.time'
  14. - '@simple_sitemap.batch'
  15. - '@plugin.manager.simple_sitemap.url_generator'
  16. simple_sitemap.sitemap_generator:
  17. class: Drupal\simple_sitemap\SitemapGenerator
  18. public: true
  19. arguments:
  20. - '@simple_sitemap.entity_helper'
  21. - '@database'
  22. - '@module_handler'
  23. - '@language_manager'
  24. - '@datetime.time'
  25. - '@simple_sitemap.sitemap_writer'
  26. simple_sitemap.sitemap_writer:
  27. class: Drupal\simple_sitemap\SitemapWriter
  28. public: false
  29. simple_sitemap.entity_helper:
  30. class: Drupal\simple_sitemap\EntityHelper
  31. public: true
  32. arguments:
  33. - '@entity_type.manager'
  34. - '@database'
  35. simple_sitemap.form_helper:
  36. class: Drupal\simple_sitemap\Form\FormHelper
  37. public: true
  38. arguments:
  39. - '@simple_sitemap.generator'
  40. - '@simple_sitemap.entity_helper'
  41. - '@current_user'
  42. simple_sitemap.batch:
  43. class: Drupal\simple_sitemap\Batch
  44. public: false
  45. simple_sitemap.logger:
  46. class: Drupal\simple_sitemap\Logger
  47. public: true
  48. arguments:
  49. - '@logger.channel.simple_sitemap'
  50. - '@current_user'
  51. logger.channel.simple_sitemap:
  52. parent: logger.channel_base
  53. public: false
  54. arguments:
  55. - simple_sitemap
  56. plugin.manager.simple_sitemap.url_generator:
  57. class: Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorManager
  58. parent: default_plugin_manager