You are here

cacheflush.routing.yml in CacheFlush 8

File

cacheflush.routing.yml
View source
  1. cacheflush.presets:
  2. path: '/admin/cacheflush'
  3. defaults:
  4. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  5. _title: 'Cacheflush'
  6. requirements:
  7. _permission: 'cacheflush clear cache'
  8. cacheflush.presets.clearall:
  9. path: '/admin/cacheflush/clear/all'
  10. defaults:
  11. _controller: '\Drupal\cacheflush\Controller\CacheflushApi::clearAll'
  12. _title: 'Clear All'
  13. requirements:
  14. _permission: 'cacheflush clear cache'
  15. cacheflush.presets.clear_id:
  16. path: '/admin/cacheflush/clear/{cacheflush}'
  17. defaults:
  18. _controller: '\Drupal\cacheflush\Controller\CacheflushApi::clearById'
  19. _title: 'Clear preset'
  20. requirements:
  21. _permission: 'cacheflush clear cache'