You are here

protected property CommentController::$entityRepository in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/comment/src/Controller/CommentController.php \Drupal\comment\Controller\CommentController::entityRepository

The entity repository.

Type: Drupal\Core\Entity\EntityRepositoryInterface

File

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

Class

CommentController
Controller for the comment entity.

Namespace

Drupal\comment\Controller

Code

protected $entityRepository;