You are here

gdpr_fields.routing.yml in General Data Protection Regulation 8

modules/gdpr_fields/gdpr_fields.routing.yml

File

modules/gdpr_fields/gdpr_fields.routing.yml
View source
  1. gdpr_fields.fields_list:
  2. path: '/admin/reports/fields/gdpr-fields'
  3. defaults:
  4. _controller: '\Drupal\gdpr_fields\Controller\GDPRController::fieldsList'
  5. _title: 'Used in GDPR'
  6. mode: 'all'
  7. requirements:
  8. _permission: 'view gdpr fields'
  9. gdpr_fields.edit_field:
  10. path: '/admin/gdpr/fields/{entity_type}/{bundle_name}/{field_name}'
  11. defaults:
  12. _form: 'Drupal\gdpr_fields\Form\GdprFieldSettingsForm'
  13. requirements:
  14. _permission: 'view gdpr fields'