You are here

campaignmonitor_user.routing.yml in Campaign Monitor 8.2

Same filename and directory in other branches
  1. 8 modules/campaignmonitor_user/campaignmonitor_user.routing.yml
modules/campaignmonitor_user/campaignmonitor_user.routing.yml

File

modules/campaignmonitor_user/campaignmonitor_user.routing.yml
View source
  1. campaignmonitor_user.admin:
  2. path: 'admin/config/services/campaignmonitor/user'
  3. defaults:
  4. _form: '\Drupal\campaignmonitor_user\Form\CampaignMonitorUserAdminForm'
  5. _title: 'User Subscription Form'
  6. requirements:
  7. _permission: 'administer campaignmonitor'
  8. campaignmonitor_user.page:
  9. path: '/user/{user}/campaignmonitor'
  10. defaults:
  11. _controller: 'Drupal\campaignmonitor_user\Controller\CampaignMonitorUserController::subscriptionPage'
  12. _title: 'Campaign Monitor'
  13. requirements:
  14. _permission: 'access campaign monitor user'
  15. options:
  16. parameters:
  17. user:
  18. type: entity:user