You are here

tour_test.routing.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/tour/tests/tour_test/tour_test.routing.yml
core/modules/tour/tests/tour_test/tour_test.routing.yml

File

core/modules/tour/tests/tour_test/tour_test.routing.yml
View source
  1. tour_test.1:
  2. path: '/tour-test-1'
  3. defaults:
  4. _controller: '\Drupal\tour_test\Controller\TourTestController::tourTest1'
  5. options:
  6. _admin_route: TRUE
  7. requirements:
  8. _access: 'TRUE'
  9. tour_test.1_action:
  10. path: '/tour-test-1/action'
  11. defaults:
  12. _controller: '\Drupal\tour_test\Controller\TourTestController::tourTest1'
  13. requirements:
  14. _access: 'TRUE'
  15. tour_test.2:
  16. path: '/tour-test-2/subpath'
  17. defaults:
  18. _controller: '\Drupal\tour_test\Controller\TourTestController::tourTest2'
  19. requirements:
  20. _access: 'TRUE'
  21. tour_test.3:
  22. path: '/tour-test-3/{locale}'
  23. defaults:
  24. locale: 'foo'
  25. _controller: '\Drupal\tour_test\Controller\TourTestController::tourTest1'
  26. requirements:
  27. _access: 'TRUE'