comment.services.yml 1.0 KB

123456789101112131415161718192021222324
  1. services:
  2. comment.breadcrumb:
  3. class: Drupal\comment\CommentBreadcrumbBuilder
  4. arguments: ['@entity_type.manager']
  5. tags:
  6. - { name: breadcrumb_builder, priority: 100 }
  7. comment.manager:
  8. class: Drupal\comment\CommentManager
  9. arguments: ['@entity_type.manager', '@config.factory', '@string_translation', '@module_handler', '@current_user', '@entity_field.manager', '@entity_display.repository']
  10. comment.statistics:
  11. class: Drupal\comment\CommentStatistics
  12. arguments: ['@database', '@current_user', '@entity_type.manager', '@state', '@database.replica']
  13. tags:
  14. - { name: backend_overridable }
  15. comment.lazy_builders:
  16. class: Drupal\comment\CommentLazyBuilders
  17. arguments: ['@entity_type.manager', '@entity.form_builder', '@current_user', '@comment.manager', '@module_handler', '@renderer']
  18. comment.link_builder:
  19. class: Drupal\comment\CommentLinkBuilder
  20. arguments: ['@current_user', '@comment.manager', '@module_handler', '@string_translation', '@entity_type.manager']