You are here

multiple_registration.routing.yml in Multiple Registration 8.2

File

multiple_registration.routing.yml
View source
  1. multiple_registration.multiple_registration_list_index:
  2. path: 'admin/config/people/multiple_registration'
  3. defaults:
  4. _controller: '\Drupal\multiple_registration\Controller\MultipleRegistrationController::index'
  5. _title: 'Multiple registration pages'
  6. requirements:
  7. _permission: 'administer multiple_registration'
  8. multiple_registration.create_registration_page_form:
  9. path: 'admin/config/people/multiple_registration/{rid}/add'
  10. defaults:
  11. _form: '\Drupal\multiple_registration\Form\CreateRegistrationPageForm'
  12. _title: 'Create/Edit Registration Page'
  13. requirements:
  14. _permission: 'administer multiple_registration'
  15. multiple_registration.delete_registration_page_form:
  16. path: 'admin/config/people/multiple_registration/{rid}/remove'
  17. defaults:
  18. _form: '\Drupal\multiple_registration\Form\DeleteRegistrationPageForm'
  19. _title: 'Delete Registration Page'
  20. requirements:
  21. _permission: 'administer multiple_registration'
  22. multiple_registration.common_settings_page_form:
  23. path: 'admin/config/people/multiple_registration/settings'
  24. defaults:
  25. _form: '\Drupal\multiple_registration\Form\CommonSettingsPageForm'
  26. _title: 'Multiple Registration Settings'
  27. requirements:
  28. _permission: 'administer multiple_registration'
  29. multiple_registration.access_settings_page_form:
  30. path: 'admin/config/people/multiple_registration/access_settings'
  31. defaults:
  32. _form: '\Drupal\multiple_registration\Form\AccessSettingsPageForm'
  33. _title: 'Multiple Registration Pages Access Settings'
  34. requirements:
  35. _permission: 'administer multiple_registration'
  36. multiple_registration.role_registration_page:
  37. path: 'user/register/{rid}'
  38. defaults:
  39. _entity_form: 'user.register'
  40. _title_callback: '\Drupal\multiple_registration\Controller\MultipleRegistrationController::getRegisterPageTitle'
  41. requirements:
  42. _custom_access: '\Drupal\multiple_registration\Controller\MultipleRegistrationController::access'