forum.services.yml

Same filename in other branches
  1. 9 core/modules/forum/forum.services.yml
  2. 8.9.x core/modules/forum/forum.services.yml
  3. 10 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. Drupal\forum\ForumManagerInterface: '@forum_manager'
  8. forum.breadcrumb.node:
  9. class: Drupal\forum\Breadcrumb\ForumNodeBreadcrumbBuilder
  10. arguments: ['@entity_type.manager', '@config.factory', '@forum_manager', '@string_translation']
  11. tags:
  12. - { name: breadcrumb_builder, priority: 1001 }
  13. forum.breadcrumb.listing:
  14. class: Drupal\forum\Breadcrumb\ForumListingBreadcrumbBuilder
  15. arguments: ['@entity_type.manager', '@config.factory', '@forum_manager', '@string_translation']
  16. tags:
  17. - { name: breadcrumb_builder, priority: 1001 }
  18. forum.index_storage:
  19. class: Drupal\forum\ForumIndexStorage
  20. arguments: ['@database']
  21. tags:
  22. - { name: backend_overridable }
  23. Drupal\forum\ForumIndexStorageInterface: '@forum.index_storage'
  24. forum.uninstall_validator:
  25. class: Drupal\forum\ForumUninstallValidator
  26. tags:
  27. - { name: module_install.uninstall_validator }
  28. arguments: ['@entity_type.manager', '@config.factory', '@string_translation']
  29. lazy: true

Services

Title Deprecated Summary
Drupal\forum\ForumIndexStorageInterface
Drupal\forum\ForumManagerInterface
forum.breadcrumb.listing Drupal\forum\Breadcrumb\ForumListingBreadcrumbBuilder
forum.breadcrumb.node Drupal\forum\Breadcrumb\ForumNodeBreadcrumbBuilder
forum.index_storage Drupal\forum\ForumIndexStorage
forum.uninstall_validator Drupal\forum\ForumUninstallValidator
forum_manager Drupal\forum\ForumManager

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.