You are here

forum.services.yml in Drupal 8

Same filename and directory in other branches
  1. 9 core/modules/forum/forum.services.yml
core/modules/forum/forum.services.yml

File

core/modules/forum/forum.services.yml
View source
  1. services:
  2. forum_manager:
  3. class: Drupal\forum\ForumManager
  4. arguments: ['@config.factory', '@entity_type.manager', '@database', '@string_translation', '@comment.manager', '@entity_field.manager']
  5. tags:
  6. - { name: backend_overridable }
  7. forum.breadcrumb.node:
  8. class: Drupal\forum\Breadcrumb\ForumNodeBreadcrumbBuilder
  9. arguments: ['@entity_type.manager', '@config.factory', '@forum_manager', '@string_translation']
  10. tags:
  11. - { name: breadcrumb_builder, priority: 1001 }
  12. forum.breadcrumb.listing:
  13. class: Drupal\forum\Breadcrumb\ForumListingBreadcrumbBuilder
  14. arguments: ['@entity_type.manager', '@config.factory', '@forum_manager', '@string_translation']
  15. tags:
  16. - { name: breadcrumb_builder, priority: 1001 }
  17. forum.index_storage:
  18. class: Drupal\forum\ForumIndexStorage
  19. arguments: ['@database']
  20. tags:
  21. - { name: backend_overridable }
  22. forum.uninstall_validator:
  23. class: Drupal\forum\ForumUninstallValidator
  24. tags:
  25. - { name: module_install.uninstall_validator }
  26. arguments: ['@entity_type.manager', '@config.factory', '@string_translation']
  27. lazy: true