You are here

social_user.routing.yml in Open Social 8.5

modules/social_features/social_user/social_user.routing.yml

File

modules/social_features/social_user/social_user.routing.yml
View source
  1. social_user.page_redirect:
  2. path: '/user/{user}'
  3. defaults:
  4. _controller: '\Drupal\social_user\Controller\SocialUserController::otherUserPage'
  5. _title: 'Account'
  6. requirements:
  7. _user_is_logged_in: 'TRUE'
  8. social_user.user_flood_settings:
  9. path: '/admin/config/people/accounts/flood'
  10. defaults:
  11. _form: '\Drupal\social_user\Form\SocialUserFloodForm'
  12. _title: 'User flooding'
  13. requirements:
  14. _permission: 'administer site configuration'
  15. social_user.navigation_settings:
  16. path: '/admin/config/opensocial/navigation-settings'
  17. defaults:
  18. _form: '\Drupal\social_user\Form\SocialUserNavigationSettingsForm'
  19. _title: 'Navigation Settings'
  20. requirements:
  21. _permission: 'administer navigation settings'
  22. social_user.settings:
  23. path: '/admin/config/opensocial/user'
  24. defaults:
  25. _form: '\Drupal\social_user\Form\SocialUserSettingsForm'
  26. _title: 'User settings'
  27. requirements:
  28. _permission: 'administer social_user settings'
  29. options:
  30. _admin_route: TRUE
  31. social_user.user_home:
  32. path: '/user/{user}/home'
  33. defaults:
  34. _entity_view: 'user.stream'
  35. requirements:
  36. _user_is_logged_in: 'TRUE'
  37. social_user.stream:
  38. path: '/user/{user}/stream'
  39. defaults:
  40. _entity_view: 'user.stream'
  41. requirements:
  42. _user_is_logged_in: 'TRUE'