You are here

pfdp.routing.yml in Private files download permission 3.x

Same filename and directory in other branches
  1. 8.2 pfdp.routing.yml

File

pfdp.routing.yml
View source
  1. entity.pfdp_directory:
  2. path: '/admin/config/media/private-files-download-permission'
  3. defaults:
  4. _entity_list: 'pfdp_directory'
  5. _title: 'Private files download permission'
  6. requirements:
  7. _permission: 'administer pfdp'
  8. entity.pfdp_directory.add:
  9. path: '/admin/config/media/private-files-download-permission/add'
  10. defaults:
  11. _entity_form: 'pfdp_directory.add'
  12. _title: 'Add directory'
  13. requirements:
  14. _permission: 'administer pfdp'
  15. entity.pfdp_directory.edit:
  16. path: '/admin/config/media/private-files-download-permission/{pfdp_directory}'
  17. defaults:
  18. _entity_form: 'pfdp_directory.edit'
  19. _title: 'Edit directory'
  20. requirements:
  21. _permission: 'administer pfdp'
  22. entity.pfdp_directory.delete:
  23. path: '/admin/config/media/private-files-download-permission/{pfdp_directory}/delete'
  24. defaults:
  25. _entity_form: 'pfdp_directory.delete'
  26. _title: 'Delete directory'
  27. requirements:
  28. _permission: 'administer pfdp'
  29. pfdp.settings:
  30. path: '/admin/config/media/private-files-download-permission/settings'
  31. defaults:
  32. _form: '\Drupal\pfdp\Form\SettingsForm'
  33. _title: 'Private files download permission settings'
  34. requirements:
  35. _permission: 'administer pfdp'