You are here

og_ui.routing.yml in Organic groups 8

og_ui/og_ui.routing.yml

File

og_ui/og_ui.routing.yml
View source
  1. # Routes for Organic groups UI.
  2. og_ui.admin_index:
  3. path: '/admin/config/group'
  4. defaults:
  5. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  6. _title: 'Organic groups'
  7. requirements:
  8. _permission: 'administer organic groups'
  9. og_ui.settings:
  10. path: 'admin/config/group/settings'
  11. defaults:
  12. _form: '\Drupal\og_ui\Form\AdminSettingsForm'
  13. _title: 'OG settings'
  14. requirements:
  15. _permission: 'administer organic groups'
  16. og_ui.roles_permissions_overview:
  17. path: 'admin/config/group/{type}'
  18. defaults:
  19. _controller: '\Drupal\og_ui\Controller\OgUiController::rolesPermissionsOverviewPage'
  20. _title_callback: '\Drupal\og_ui\Controller\OgUiController::rolesPermissionsOverviewTitleCallback'
  21. requirements:
  22. _permission: 'administer organic groups'
  23. type: '^(roles|permissions)$'
  24. og_ui.roles_form:
  25. path: 'admin/config/group/roles/{entity_type}/{bundle}'
  26. defaults:
  27. _form: '\Drupal\og_ui\Form\OgRolesForm'
  28. _title: '@todo - create title callback'
  29. requirements:
  30. _permission: 'administer organic groups'
  31. og_ui.permissions_form:
  32. path: 'admin/config/group/permissions/{entity_type}/{bundle}'
  33. defaults:
  34. _form: '\Drupal\og_ui\Form\OgPermissionsForm'
  35. _title: '@todo - create title callback'
  36. requirements:
  37. _permission: 'administer organic groups'