You are here

service comment.manager in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/comment.services.yml \comment.manager
  2. 9 core/modules/comment/comment.services.yml \comment.manager

Class

Drupal\comment\CommentManager
18 string references to comment.manager
CommentController::create in core/modules/comment/src/Controller/CommentController.php
Instantiates a new instance of this class.
CommentTestTrait::addDefaultCommentField in core/modules/comment/src/Tests/CommentTestTrait.php
Adds the default comment field to an entity.
CommentTypeDeleteForm::create in core/modules/comment/src/Form/CommentTypeDeleteForm.php
Instantiates a new instance of this class.
CommentTypeForm::create in core/modules/comment/src/CommentTypeForm.php
Instantiates a new instance of this class.
CommentViewsData::getViewsData in core/modules/comment/src/CommentViewsData.php

... See full list

File

core/modules/comment/comment.services.yml
core/modules/comment/comment.services.yml

View source
  1. class: Drupal\comment\CommentManager
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@config.factory'
  5. - '@string_translation'
  6. - '@module_handler'
  7. - '@current_user'
  8. - '@entity_field.manager'
  9. - '@entity_display.repository'