comment_test.routing.yml

Same filename in other branches
  1. 9 core/modules/comment/tests/modules/comment_test/comment_test.routing.yml
  2. 10 core/modules/comment/tests/modules/comment_test/comment_test.routing.yml
  3. 11.x core/modules/comment/tests/modules/comment_test/comment_test.routing.yml
core/modules/comment/tests/modules/comment_test/comment_test.routing.yml
2 string references to YAML keys in comment_test.routing.yml
comment_test_comment_links_alter in core/modules/comment/tests/modules/comment_test/comment_test.module
Implements hook_comment_links_alter().
hook_comment_links_alter in core/modules/comment/comment.api.php
Alter the links of a comment.

File

core/modules/comment/tests/modules/comment_test/comment_test.routing.yml

View source
  1. comment_test.report:
  2. path: '/comment/{comment}/report'
  3. defaults:
  4. _title: 'Report'
  5. _controller: '\Drupal\comment_test\Controller\CommentTestController::commentReport'
  6. requirements:
  7. _access: 'TRUE'
  8. _csrf_token: 'TRUE'

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