You are here

admin_toolbar_tools.routing.yml in Admin Toolbar 8

admin_toolbar_tools/admin_toolbar_tools.routing.yml

File

admin_toolbar_tools/admin_toolbar_tools.routing.yml
View source
  1. admin_toolbar_tools.flush:
  2. path: '/admin/flush'
  3. defaults:
  4. _controller: '\Drupal\admin_toolbar_tools\Controller\ToolbarController::flushAll'
  5. _title: 'Flush all caches'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. _csrf_token: 'TRUE'
  9. admin_toolbar_tools.cssjs:
  10. path: '/admin/flush/cssjs'
  11. defaults:
  12. _controller: '\Drupal\admin_toolbar_tools\Controller\ToolbarController::flushJsCss'
  13. _title: 'Flush Css and Javascript'
  14. requirements:
  15. _permission: 'administer site configuration'
  16. _csrf_token: 'TRUE'
  17. admin_toolbar_tools.plugin:
  18. path: '/admin/flush/plugin'
  19. defaults:
  20. _controller: '\Drupal\admin_toolbar_tools\Controller\ToolbarController::flushPlugins'
  21. _title: 'Plugin'
  22. requirements:
  23. _permission: 'administer site configuration'
  24. _csrf_token: 'TRUE'
  25. admin_toolbar_tools.flush_static:
  26. path: '/admin/flush/static-caches'
  27. defaults:
  28. _controller: '\Drupal\admin_toolbar_tools\Controller\ToolbarController::flushStatic'
  29. _title: 'Static caches'
  30. requirements:
  31. _permission: 'administer site configuration'
  32. _csrf_token: 'TRUE'
  33. admin_toolbar_tools.flush_menu:
  34. path: '/admin/flush/menu'
  35. defaults:
  36. _controller: '\Drupal\admin_toolbar_tools\Controller\ToolbarController::flushMenu'
  37. _title: 'Menu'
  38. requirements:
  39. _permission: 'administer site configuration'
  40. _csrf_token: 'TRUE'
  41. admin_toolbar_tools.flush_rendercache:
  42. path: '/admin/flush/rendercache'
  43. defaults:
  44. _controller: '\Drupal\admin_toolbar_tools\Controller\ToolbarController::cacheRender'
  45. _title: 'Render cache'
  46. requirements:
  47. _permission: 'administer site configuration'
  48. _csrf_token: 'TRUE'
  49. admin_toolbar_tools.flush_views:
  50. path: '/admin/flush/views'
  51. defaults:
  52. _controller: '\Drupal\admin_toolbar_tools\Controller\ToolbarController::flushViews'
  53. _title: 'Views'
  54. requirements:
  55. _permission: 'administer site configuration'
  56. _csrf_token: 'TRUE'
  57. admin_toolbar_tools.flush_twig:
  58. path: '/admin/flush/twig'
  59. defaults:
  60. _controller: '\Drupal\admin_toolbar_tools\Controller\ToolbarController::flushTwig'
  61. _title: 'Twig'
  62. requirements:
  63. _permission: 'administer site configuration'
  64. _csrf_token: 'TRUE'
  65. admin_toolbar.run.cron:
  66. path: '/run-cron'
  67. defaults:
  68. _controller: '\Drupal\admin_toolbar_tools\Controller\ToolbarController::runCron'
  69. _title: 'Run cron'
  70. requirements:
  71. _permission: 'administer site configuration'
  72. _csrf_token: 'TRUE'