You are here

social_event_an_enroll.routing.yml in Open Social 10.2.x

modules/social_features/social_event/modules/social_event_an_enroll/social_event_an_enroll.routing.yml

File

modules/social_features/social_event/modules/social_event_an_enroll/social_event_an_enroll.routing.yml
View source
  1. social_event_an_enroll.settings:
  2. path: '/admin/config/opensocial/event-an-enroll'
  3. defaults:
  4. _title: 'Anonymous event enrollment settings'
  5. _form: '\Drupal\social_event_an_enroll\Form\EventAnEnrollSettingsForm'
  6. requirements:
  7. _permission: 'administer social_event settings'
  8. social_event_an_enroll.enroll_dialog:
  9. path: '/node/{node}/enroll-dialog'
  10. defaults:
  11. _controller: '\Drupal\social_event_an_enroll\Controller\EventAnEnrollController::enrollDialog'
  12. _title_callback: '\Drupal\social_event_an_enroll\Controller\EventAnEnrollController::enrollTitle'
  13. options:
  14. parameters:
  15. node:
  16. type: entity:node
  17. _event_an_enroll_route: TRUE
  18. requirements:
  19. _user_is_logged_in: 'FALSE'
  20. _custom_access: '\Drupal\social_event_an_enroll\Controller\EventAnEnrollController::enrollAccess'
  21. social_event_an_enroll.enroll_form:
  22. path: '/node/{node}/enroll'
  23. defaults:
  24. _form: '\Drupal\social_event_an_enroll\Form\EventAnEnrollForm'
  25. _title_callback: '\Drupal\social_event_an_enroll\Controller\EventAnEnrollController::enrollTitle'
  26. requirements:
  27. _user_is_logged_in: 'FALSE'
  28. _custom_access: '\Drupal\social_event_an_enroll\Controller\EventAnEnrollController::enrollAccess'
  29. options:
  30. parameters:
  31. node:
  32. type: entity:node
  33. _event_an_enroll_route: TRUE