social_comment.routing.yml in Open Social 8.8
Same filename and directory in other branches
- 8.9 modules/social_features/social_comment/social_comment.routing.yml
- 8.7 modules/social_features/social_comment/social_comment.routing.yml
- 10.3.x modules/social_features/social_comment/social_comment.routing.yml
- 10.0.x modules/social_features/social_comment/social_comment.routing.yml
- 10.1.x modules/social_features/social_comment/social_comment.routing.yml
- 10.2.x modules/social_features/social_comment/social_comment.routing.yml
modules/social_features/social_comment/social_comment.routing.yml
1 string reference to YAML keys in social_comment.routing.yml
- social_comment_comment_links_alter in modules/
social_features/ social_comment/ social_comment.module - Implements hook_comment_links_alter().
File
modules/social_features/social_comment/social_comment.routing.ymlView source
- social_comment.unpublish:
- path: '/comment/{comment}/unpublish'
- defaults:
- _title: 'Unpublish Comment'
- _controller: '\Drupal\social_comment\Controller\SocialCommentController::commentUnpublish'
- entity_type: 'comment'
- requirements:
- _permission: 'administer comments'
- _csrf_token: 'TRUE'
- comment: \d+