You are here

social_event_managers.routing.yml in Open Social 10.1.x

modules/social_features/social_event/modules/social_event_managers/social_event_managers.routing.yml

File

modules/social_features/social_event/modules/social_event_managers/social_event_managers.routing.yml
View source
  1. social_event_managers.settings:
  2. path: '/admin/config/opensocial/event-managers'
  3. defaults:
  4. _form: 'Drupal\social_event_managers\Form\SocialEventManagersSettings'
  5. _title: 'Event organiser settings'
  6. requirements:
  7. _permission: 'set social event managers settings'
  8. social_event_managers.add_enrollees:
  9. path: '/node/{node}/all-enrollments/add-enrollees'
  10. defaults:
  11. _form: '\Drupal\social_event_managers\Form\SocialEventManagersAddEnrolleeForm'
  12. _title: 'Add enrollees'
  13. requirements:
  14. _enrollee_permission: 'manage everything enrollments'
  15. route_callbacks:
  16. - 'social_event_managers.route_subscriber:routes'