3 namespace Drupal\comment_test\Controller;
5 use Drupal\comment\CommentInterface;
6 use Drupal\Core\Controller\ControllerBase;
9 * Controller for the comment_test.module.
11 class CommentTestController extends ControllerBase {
14 * Provides a comment report.
16 public function commentReport(CommentInterface $comment) {
17 return ['#markup' => $this->t('Report for a comment')];