You are here

gdpr.routing.yml in General Data Protection Regulation 3.0.x

Same filename and directory in other branches
  1. 8.2 gdpr.routing.yml
  2. 8 gdpr.routing.yml

File

gdpr.routing.yml
View source
  1. gdpr.collected_user_data:
  2. path: '/user/{user}/gdpr'
  3. defaults:
  4. _title: 'Data stored about you'
  5. _controller: '\Drupal\gdpr\Controller\UserController::collectedData'
  6. requirements:
  7. _custom_access: '\Drupal\gdpr\Controller\UserController::accessCollectedData'
  8. options:
  9. parameters:
  10. user:
  11. type: entity:user
  12. gdpr.admin_config:
  13. path: '/admin/config/gdpr'
  14. defaults:
  15. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  16. _title: 'GDPR'
  17. requirements:
  18. _permission: 'administer site configuration'
  19. options:
  20. _admin_route: TRUE
  21. gdpr.content_links_form:
  22. path: '/admin/config/gdpr/content-links'
  23. defaults:
  24. _title: 'Content links config'
  25. _form: \Drupal\gdpr\Form\ContentLinksForm
  26. requirements:
  27. _permission: 'administer site configuration'
  28. options:
  29. _admin_route: TRUE