comment.services.yml

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