You are here

we_megamenu.routing.yml in Drupal Mega Menu 8.x

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

File

we_megamenu.routing.yml
View source
  1. we_megamenu.admin:
  2. path: '/admin/structure/we-mega-menu'
  3. defaults:
  4. _title: 'We Mega Menu'
  5. _controller: '\Drupal\we_megamenu\Controller\WeMegaMenuAdminController::listWeMegaMenus'
  6. requirements:
  7. _permission: 'administer we_megamenu'
  8. we_megamenu.renderblock:
  9. path: '/we-mega-menu/ajax/block'
  10. defaults:
  11. _controller: '\Drupal\we_megamenu\Controller\WeMegaMenuAdminController::renderBlock'
  12. _title: 'Render Block'
  13. requirements:
  14. _permission: 'access content'
  15. we_megamenu.geticons:
  16. path: '/we-mega-menu/ajax/icons'
  17. defaults:
  18. _controller: '\Drupal\we_megamenu\Controller\WeMegaMenuAdminController::getIcons'
  19. _title: 'Get Icons'
  20. requirements:
  21. _permission: 'access content'
  22. we_megamenu.admin.configure:
  23. path: '/admin/structure/we-mega-menu/{menu_name}/config'
  24. defaults:
  25. _title: 'Config Drupal 8 Mega Menu'
  26. _controller: '\Drupal\we_megamenu\Controller\WeMegaMenuAdminController::configWeMegaMenu'
  27. requirements:
  28. _permission: 'administer we_megamenu'
  29. we_megamenu.admin.save:
  30. path: '/admin/structure/we-mega-menu/save'
  31. defaults:
  32. _title: 'Save Configuration Drupal 8 Mega Menu'
  33. _controller: '\Drupal\we_megamenu\Controller\WeMegaMenuAdminController::saveConfigWeMegaMenu'
  34. requirements:
  35. _permission: 'administer we_megamenu'
  36. we_megamenu.admin.reset:
  37. path: '/admin/structure/we-mega-menu/reset'
  38. defaults:
  39. _title: 'Save Configuration Drupal 8 Mega Menu'
  40. _controller: '\Drupal\we_megamenu\Controller\WeMegaMenuAdminController::resetConfigWeMegaMenu'
  41. requirements:
  42. _permission: 'administer we_megamenu'
  43. we_megamenu.admin.style:
  44. path: '/admin/structure/we-mega-menu/style'
  45. defaults:
  46. _title: 'Style Of Backend Drupal 8 Mega Menu'
  47. _controller: '\Drupal\we_megamenu\Controller\WeMegaMenuAdminController::styleOfBackendWeMegaMenu'
  48. requirements:
  49. _permission: 'administer we_megamenu'