You are here

scheduler.routing.yml in Scheduler 8

Same filename and directory in other branches
  1. 2.x scheduler.routing.yml

File

scheduler.routing.yml
View source
  1. scheduler.admin_form:
  2. path: '/admin/config/content/scheduler'
  3. defaults:
  4. _title: 'Scheduler'
  5. _form: '\Drupal\scheduler\Form\SchedulerAdminForm'
  6. requirements:
  7. _permission: 'administer scheduler'
  8. scheduler.cron_form:
  9. path: '/admin/config/content/scheduler/cron'
  10. defaults:
  11. _title: 'Lightweight cron'
  12. _description: 'Configuration form for the lightweight cron.'
  13. _form: '\Drupal\scheduler\Form\SchedulerCronForm'
  14. requirements:
  15. _permission: 'administer scheduler'
  16. scheduler.lightweight_cron:
  17. path: '/scheduler/cron/{cron_key}'
  18. defaults:
  19. _controller: '\Drupal\scheduler\Controller\LightweightCronController::index'
  20. _description: 'Run the lightweight cron process'
  21. _title: 'Lightweight cron'
  22. options:
  23. no_cache: TRUE
  24. requirements:
  25. _custom_access: '\Drupal\scheduler\Controller\LightweightCronController::access'