CommentController::$commentManager

Same name in other branches
  1. 9 core/modules/comment/src/Controller/CommentController.php \Drupal\comment\Controller\CommentController::commentManager
  2. 8.9.x core/modules/comment/src/Controller/CommentController.php \Drupal\comment\Controller\CommentController::commentManager
  3. 10 core/modules/comment/src/Controller/CommentController.php \Drupal\comment\Controller\CommentController::commentManager

The comment manager service.

Type: \Drupal\comment\CommentManagerInterface

File

core/modules/comment/src/Controller/CommentController.php, line 42

Class

CommentController
Controller for the comment entity.

Namespace

Drupal\comment\Controller

Code

protected $commentManager;

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