You are here

test_page_test.routing.yml in Zircon Profile 8

core/modules/system/tests/modules/test_page_test/test_page_test.routing.yml

File

core/modules/system/tests/modules/test_page_test/test_page_test.routing.yml
View source
  1. test_page_test.test_page:
  2. path: '/test-page'
  3. defaults:
  4. _title: 'Test front page'
  5. _controller: '\Drupal\test_page_test\Controller\TestPageTestController::testPage'
  6. requirements:
  7. _access: 'TRUE'
  8. test_page_test.render_title:
  9. path: '/test-render-title'
  10. defaults:
  11. _controller: '\Drupal\test_page_test\Controller\Test::renderTitle'
  12. requirements:
  13. _access: 'TRUE'
  14. test_page_test.static_title:
  15. path: '/test-page-static-title'
  16. defaults:
  17. _controller: '\Drupal\test_page_test\Controller\Test::staticTitle'
  18. _title: 'Static title'
  19. requirements:
  20. _access: 'TRUE'
  21. test_page_test.cached_controller:
  22. path: '/test-page-cached-controller'
  23. defaults:
  24. _controller: '\Drupal\test_page_test\Controller\Test::controllerWithCache'
  25. requirements:
  26. _access: 'TRUE'
  27. test_page_test.dynamic_title:
  28. path: '/test-page-dynamic-title'
  29. defaults:
  30. _controller: '\Drupal\test_page_test\Controller\Test::staticTitle'
  31. _title_callback: 'Drupal\test_page_test\Controller\Test::dynamicTitle'
  32. requirements:
  33. _access: 'TRUE'
  34. test_page_test.admin_render_title:
  35. path: '/admin/test-render-title'
  36. defaults:
  37. _controller: '\Drupal\test_page_test\Controller\Test::renderTitle'
  38. requirements:
  39. _access: 'TRUE'
  40. test_page_test.http_response_exception:
  41. path: '/test-http-response-exception/{code}'
  42. defaults:
  43. _controller: '\Drupal\test_page_test\Controller\Test::httpResponseException'
  44. code: 200
  45. requirements:
  46. _access: 'TRUE'