You are here

social_event.routing.yml in Open Social 8.6

modules/social_features/social_event/social_event.routing.yml

File

modules/social_features/social_event/social_event.routing.yml
View source
  1. social_event.my_events:
  2. path: '/my-events'
  3. defaults:
  4. _controller: '\Drupal\social_event\Controller\SocialEventController::redirectMyEvents'
  5. requirements:
  6. _user_is_logged_in: 'TRUE'
  7. social_event.settings:
  8. path: '/admin/config/opensocial/event'
  9. defaults:
  10. _form: '\Drupal\social_event\Form\EventSettingsForm'
  11. _title: 'Event settings'
  12. requirements:
  13. _permission: 'administer social_event settings'
  14. options:
  15. _admin_route: TRUE