You are here

opigno_dashboard.routing.yml in Opigno dashboard 3.x

Same filename and directory in other branches
  1. 8 opigno_dashboard.routing.yml

File

opigno_dashboard.routing.yml
View source
  1. opigno_dashboard.dashboard_admin_settings_form:
  2. path: '/admin/config/opigno/dashboard'
  3. defaults:
  4. _form: '\Drupal\opigno_dashboard\Form\SettingsForm'
  5. _title: 'Dashboard settings'
  6. requirements:
  7. _permission: 'opigno dashboard manage settings'
  8. options:
  9. _admin_route: TRUE
  10. opigno_dashboard.dashboard_admin_default_settings:
  11. path: '/admin/config/opigno/dashboard/default'
  12. defaults:
  13. _title: 'Dashboard default settings'
  14. _controller: '\Drupal\opigno_dashboard\Controller\DashboardController::dashboardDefaultBlocks'
  15. requirements:
  16. _permission: 'administer site configuration'
  17. options:
  18. _admin_route: TRUE
  19. opigno_dashboard.get_positioning:
  20. path: '/opigno_dashboard/get-positioning'
  21. methods: [GET]
  22. defaults:
  23. _controller: '\Drupal\opigno_dashboard\Controller\DashboardController::getPositioning'
  24. requirements:
  25. _permission: 'access content'
  26. opigno_dashboard.get_default_positioning:
  27. path: '/opigno_dashboard/get-default-positioning'
  28. methods: [GET]
  29. defaults:
  30. _controller: '\Drupal\opigno_dashboard\Controller\DashboardController::getDefaultPositioning'
  31. requirements:
  32. _permission: 'access content'
  33. opigno_dashboard.set_positioning:
  34. path: '/opigno_dashboard/set-positioning'
  35. methods: [POST]
  36. defaults:
  37. _controller: '\Drupal\opigno_dashboard\Controller\DashboardController::setPositioning'
  38. requirements:
  39. _permission: 'access content'
  40. opigno_dashboard.set_default_positioning:
  41. path: '/opigno_dashboard/set-default-positioning'
  42. methods: [POST]
  43. defaults:
  44. _controller: '\Drupal\opigno_dashboard\Controller\DashboardController::setDefaultPositioning'
  45. requirements:
  46. _permission: 'access content'
  47. opigno_dashboard.restore_to_default_all:
  48. path: '/opigno_dashboard/restore-to-default-all'
  49. methods: [POST]
  50. defaults:
  51. _controller: '\Drupal\opigno_dashboard\Controller\DashboardController::restoreToDefaultAll'
  52. requirements:
  53. _permission: 'opigno dashboard manage settings'
  54. opigno_dashboard.get_blocks:
  55. path: '/opigno_dashboard/get-blocks'
  56. methods: [GET]
  57. defaults:
  58. _controller: '\Drupal\opigno_dashboard\Controller\DashboardController::getBlocksContents'
  59. requirements:
  60. _permission: 'access content'