CommentController::$entityRepository
Same name in other branches
- 9 core/modules/comment/src/Controller/CommentController.php \Drupal\comment\Controller\CommentController::entityRepository
- 8.9.x core/modules/comment/src/Controller/CommentController.php \Drupal\comment\Controller\CommentController::entityRepository
- 11.x 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 56
Class
- CommentController
- Controller for the comment entity.
Namespace
Drupal\comment\ControllerCode
protected $entityRepository;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.