social_ajax_comments.routing.yml in Open Social 8.8
Same filename and directory in other branches
- 8.9 modules/custom/social_ajax_comments/social_ajax_comments.routing.yml
- 10.3.x modules/custom/social_ajax_comments/social_ajax_comments.routing.yml
- 10.0.x modules/custom/social_ajax_comments/social_ajax_comments.routing.yml
- 10.1.x modules/custom/social_ajax_comments/social_ajax_comments.routing.yml
- 10.2.x modules/custom/social_ajax_comments/social_ajax_comments.routing.yml
modules/custom/social_ajax_comments/social_ajax_comments.routing.yml
File
modules/custom/social_ajax_comments/social_ajax_comments.routing.ymlView source
- social_ajax_comments.cancel:
- path: '/ajax_comments/{cid}/cancel'
- defaults:
- _controller: '\Drupal\social_ajax_comments\Controller\AjaxCommentsController::socialCancel'
- requirements:
- _access: 'TRUE'
- cid: ^[0-9]+
-
- social_ajax_comments.add:
- path: '/ajax_comments/add/{entity_type}/{entity}/{field_name}/{pid}'
- defaults:
- _controller: '\Drupal\social_ajax_comments\Controller\AjaxCommentsController::socialAdd'
- pid: ~
- requirements:
- _access: 'TRUE'
- options:
- parameters:
- entity:
- type: entity:{entity_type}