campaignmonitor_user.routing.yml in Campaign Monitor 8.2
Same filename and directory in other branches
modules/campaignmonitor_user/campaignmonitor_user.routing.yml
File
modules/campaignmonitor_user/campaignmonitor_user.routing.ymlView source
- campaignmonitor_user.admin:
- path: 'admin/config/services/campaignmonitor/user'
- defaults:
- _form: '\Drupal\campaignmonitor_user\Form\CampaignMonitorUserAdminForm'
- _title: 'User Subscription Form'
- requirements:
- _permission: 'administer campaignmonitor'
-
- campaignmonitor_user.page:
- path: '/user/{user}/campaignmonitor'
- defaults:
- _controller: 'Drupal\campaignmonitor_user\Controller\CampaignMonitorUserController::subscriptionPage'
- _title: 'Campaign Monitor'
- requirements:
- _permission: 'access campaign monitor user'
- options:
- parameters:
- user:
- type: entity:user