You are here

gdpr_tasks.routing.yml in General Data Protection Regulation 8.2

modules/gdpr_tasks/gdpr_tasks.routing.yml

File

modules/gdpr_tasks/gdpr_tasks.routing.yml
View source
  1. gdpr_tasks.summary:
  2. path: '/admin/gdpr/summary'
  3. defaults:
  4. _controller: '\Drupal\gdpr_tasks\Controller\GDPRController::summaryPage'
  5. _title: 'GDPR Summary'
  6. requirements:
  7. _permission: 'view gdpr tasks'
  8. gdpr_tasks.request:
  9. path: '/user/{user}/gdpr-request/{gdpr_task_type}'
  10. defaults:
  11. _controller: '\Drupal\gdpr_tasks\Controller\GDPRController::requestPage'
  12. _title: 'Create Data Request'
  13. requirements:
  14. _permission: 'create gdpr tasks'
  15. options:
  16. parameters:
  17. gdpr_task_type:
  18. type: string
  19. user:
  20. type: entity:user
  21. gdpr_tasks.remove_settings:
  22. path: '/admin/config/gdpr/remove-settings'
  23. defaults:
  24. _form: '\Drupal\gdpr_tasks\Form\RemovalSettingsForm'
  25. _title: 'Right to be Forgotten'
  26. requirements:
  27. _permission: 'administer task entities'
  28. options:
  29. _admin_route: TRUE