comment.services.yml

Same filename in other branches
  1. 9 core/modules/comment/comment.services.yml
  2. 8.9.x core/modules/comment/comment.services.yml
  3. 10 core/modules/comment/comment.services.yml
core/modules/comment/comment.services.yml

File

core/modules/comment/comment.services.yml

View source
  1. parameters:
  2. comment.hooks_converted: true
  3. services:
  4. _defaults:
  5. autoconfigure: true
  6. comment.breadcrumb:
  7. class: Drupal\comment\CommentBreadcrumbBuilder
  8. arguments: ['@entity_type.manager']
  9. tags:
  10. - { name: breadcrumb_builder, priority: 100 }
  11. comment.manager:
  12. class: Drupal\comment\CommentManager
  13. arguments: ['@entity_type.manager', '@config.factory', '@string_translation', '@module_handler', '@current_user', '@entity_field.manager', '@entity_display.repository']
  14. Drupal\comment\CommentManagerInterface: '@comment.manager'
  15. comment.statistics:
  16. autowire: true
  17. class: Drupal\comment\CommentStatistics
  18. arguments: ['@database', '@current_user', '@entity_type.manager', '@state', '@datetime.time', '@database.replica']
  19. tags:
  20. - { name: backend_overridable }
  21. Drupal\comment\CommentStatisticsInterface: '@comment.statistics'
  22. comment.lazy_builders:
  23. class: Drupal\comment\CommentLazyBuilders
  24. arguments: ['@entity_type.manager', '@entity.form_builder', '@current_user', '@comment.manager', '@module_handler', '@renderer']
  25. Drupal\comment\CommentLazyBuilders: '@comment.lazy_builders'
  26. comment.link_builder:
  27. class: Drupal\comment\CommentLinkBuilder
  28. arguments: ['@current_user', '@comment.manager', '@module_handler', '@string_translation', '@entity_type.manager']
  29. Drupal\comment\CommentLinkBuilderInterface: '@comment.link_builder'

Services

Title Deprecated Summary
comment.breadcrumb Drupal\comment\CommentBreadcrumbBuilder
comment.lazy_builders Drupal\comment\CommentLazyBuilders
comment.link_builder Drupal\comment\CommentLinkBuilder
comment.manager Drupal\comment\CommentManager
comment.statistics Drupal\comment\CommentStatistics
Drupal\comment\CommentLazyBuilders
Drupal\comment\CommentLinkBuilderInterface
Drupal\comment\CommentManagerInterface
Drupal\comment\CommentStatisticsInterface
_defaults

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