You are here

social_event_an_enroll.routing.yml in Open Social 8.5

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. requirements:
  18. _user_is_logged_in: 'FALSE'
  19. _custom_access: '\Drupal\social_event_an_enroll\Controller\EventAnEnrollController::enrollAccess'
  20. social_event_an_enroll.enroll_form:
  21. path: '/node/{node}/enroll'
  22. defaults:
  23. _form: '\Drupal\social_event_an_enroll\Form\EventAnEnrollForm'
  24. _title_callback: '\Drupal\social_event_an_enroll\Controller\EventAnEnrollController::enrollTitle'
  25. requirements:
  26. _user_is_logged_in: 'FALSE'
  27. _custom_access: '\Drupal\social_event_an_enroll\Controller\EventAnEnrollController::enrollAccess'
  28. options:
  29. parameters:
  30. node:
  31. type: entity:node