cacheflush.routing.yml in CacheFlush 8
2 string references to YAML keys in cacheflush.routing.yml
- CacheflushRouteSubscriber::alterRoutes in modules/
cacheflush_ui/ src/ Routing/ CacheflushRouteSubscriber.php - Alters existing routes for a specific collection.
- cacheflush_ui_menu_links_discovered_alter in modules/
cacheflush_ui/ cacheflush_ui.module - Implements hook_menu_links_discovered_alter().
File
cacheflush.routing.ymlView source
- cacheflush.presets:
- path: '/admin/cacheflush'
- defaults:
- _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
- _title: 'Cacheflush'
- requirements:
- _permission: 'cacheflush clear cache'
-
- cacheflush.presets.clearall:
- path: '/admin/cacheflush/clear/all'
- defaults:
- _controller: '\Drupal\cacheflush\Controller\CacheflushApi::clearAll'
- _title: 'Clear All'
- requirements:
- _permission: 'cacheflush clear cache'
-
- cacheflush.presets.clear_id:
- path: '/admin/cacheflush/clear/{cacheflush}'
- defaults:
- _controller: '\Drupal\cacheflush\Controller\CacheflushApi::clearById'
- _title: 'Clear preset'
- requirements:
- _permission: 'cacheflush clear cache'