You are here

public function CommentTestController::commentReport in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/tests/modules/comment_test/src/Controller/CommentTestController.php \Drupal\comment_test\Controller\CommentTestController::commentReport()

Provides a comment report.

1 string reference to 'CommentTestController::commentReport'
comment_test.routing.yml in core/modules/comment/tests/modules/comment_test/comment_test.routing.yml
core/modules/comment/tests/modules/comment_test/comment_test.routing.yml

File

core/modules/comment/tests/modules/comment_test/src/Controller/CommentTestController.php, line 21
Contains \Drupal\comment_test\Controller\CommentTestController.

Class

CommentTestController
Controller for the comment_test.module.

Namespace

Drupal\comment_test\Controller

Code

public function commentReport(CommentInterface $comment) {
  return [
    '#markup' => $this
      ->t('Report for a comment'),
  ];
}