You are here

protected_pages.routing.yml in Protected Pages 8

File

protected_pages.routing.yml
View source
  1. protected_pages_list:
  2. path: 'admin/config/system/protected_pages'
  3. defaults:
  4. _title: 'Protected Pages'
  5. _controller: '\Drupal\protected_pages\Controller\ProtectedPagesController::protectedPagesList'
  6. requirements:
  7. _permission: 'administer protected pages configuration'
  8. protected_pages_add:
  9. path: 'admin/config/system/protected_pages/add'
  10. defaults:
  11. _title: 'Add Protected Page'
  12. _form: '\Drupal\protected_pages\Form\ProtectedPagesAddForm'
  13. requirements:
  14. _permission: 'administer protected pages configuration'
  15. protected_pages_edit:
  16. path: 'admin/config/system/protected_pages/{pid}/edit'
  17. defaults:
  18. _title: 'Edit Protected Page'
  19. _form: '\Drupal\protected_pages\Form\ProtectedPagesEditForm'
  20. requirements:
  21. _permission: 'administer protected pages configuration'
  22. protected_pages_delete:
  23. path: 'admin/config/system/protected_pages/{pid}/delete'
  24. defaults:
  25. _title: 'Delete Protected Page'
  26. _form: '\Drupal\protected_pages\Form\ProtectedPagesDeleteConfirmForm'
  27. requirements:
  28. _permission: 'administer protected pages configuration'
  29. protected_pages_send_email:
  30. path: 'admin/config/system/protected_pages/{pid}/send_email'
  31. defaults:
  32. _title: 'Send protected pages details to user by email'
  33. _form: '\Drupal\protected_pages\Form\ProtectedPagesSendEmailForm'
  34. requirements:
  35. _permission: 'administer protected pages configuration'
  36. protected_pages_settings:
  37. path: 'admin/config/system/protected_pages/settings'
  38. defaults:
  39. _title: 'Settings'
  40. _form: '\Drupal\protected_pages\Form\ProtectedPagesSettingForm'
  41. requirements:
  42. _permission: 'administer protected pages configuration'
  43. protected_pages_login_page:
  44. path: 'protected-page'
  45. defaults:
  46. _title_callback: '\Drupal\protected_pages\Form\ProtectedPagesLoginForm::protectedPageTitle'
  47. _title: 'Protected page - Enter Password'
  48. _form: '\Drupal\protected_pages\Form\ProtectedPagesLoginForm'
  49. requirements:
  50. _custom_access: '\Drupal\protected_pages\Form\ProtectedPagesLoginForm::accessProtectedPageLoginScreen'