You are here

simple_sitemap.services.yml in Simple XML sitemap 4.x

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

File

simple_sitemap.services.yml
View source
  1. services:
  2. simple_sitemap.generator:
  3. class: Drupal\simple_sitemap\Manager\Generator
  4. public: true
  5. arguments:
  6. - '@simple_sitemap.settings'
  7. - '@simple_sitemap.queue_worker'
  8. - '@lock'
  9. - '@simple_sitemap.logger'
  10. simple_sitemap.entity_manager:
  11. class: Drupal\simple_sitemap\Manager\EntityManager
  12. public: true
  13. arguments:
  14. - '@simple_sitemap.entity_helper'
  15. - '@simple_sitemap.settings'
  16. - '@config.factory'
  17. - '@database'
  18. - '@entity_type.manager'
  19. simple_sitemap.custom_link_manager:
  20. class: Drupal\simple_sitemap\Manager\CustomLinkManager
  21. public: true
  22. arguments:
  23. - '@config.factory'
  24. - '@path.validator'
  25. simple_sitemap.settings:
  26. class: Drupal\simple_sitemap\Settings
  27. public: true
  28. arguments:
  29. - '@config.factory'
  30. simple_sitemap.queue_worker:
  31. class: Drupal\simple_sitemap\Queue\QueueWorker
  32. public: true
  33. arguments:
  34. - '@simple_sitemap.settings'
  35. - '@state'
  36. - '@simple_sitemap.queue'
  37. - '@simple_sitemap.logger'
  38. - '@module_handler'
  39. - '@entity_type.manager'
  40. - '@lock'
  41. simple_sitemap.queue:
  42. class: Drupal\simple_sitemap\Queue\SimpleSitemapQueue
  43. public: true
  44. arguments:
  45. - 'simple_sitemap_elements'
  46. - '@database'
  47. - '@datetime.time'
  48. simple_sitemap.sitemap_writer:
  49. class: Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator\SitemapWriter
  50. public: true
  51. arguments:
  52. - '@router.route_provider'
  53. simple_sitemap.entity_helper:
  54. class: Drupal\simple_sitemap\Entity\EntityHelper
  55. public: true
  56. arguments:
  57. - '@entity_type.manager'
  58. - '@entity_type.bundle.info'
  59. - '@config.factory'
  60. simple_sitemap.form_helper:
  61. class: Drupal\simple_sitemap\Form\FormHelper
  62. public: true
  63. arguments:
  64. - '@simple_sitemap.generator'
  65. - '@simple_sitemap.settings'
  66. - '@simple_sitemap.entity_helper'
  67. - '@current_user'
  68. simple_sitemap.logger:
  69. class: Drupal\simple_sitemap\Logger
  70. public: true
  71. arguments:
  72. - '@logger.channel.simple_sitemap'
  73. - '@messenger'
  74. - '@current_user'
  75. simple_sitemap.path_processor:
  76. class: Drupal\simple_sitemap\PathProcessor\SitemapPathProcessor
  77. tags:
  78. - { name: path_processor_inbound, priority: 300 }
  79. - { name: path_processor_outbound, priority: 300 }
  80. logger.channel.simple_sitemap:
  81. parent: logger.channel_base
  82. public: true
  83. arguments:
  84. - simple_sitemap
  85. plugin.manager.simple_sitemap.url_generator:
  86. class: Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorManager
  87. parent: default_plugin_manager
  88. plugin.manager.simple_sitemap.sitemap_generator:
  89. class: Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator\SitemapGeneratorManager
  90. parent: default_plugin_manager