You are here

test_page_test.routing.yml in Drupal 9

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'
  47. test_page_test.error:
  48. path: '/test-error'
  49. defaults:
  50. _controller: '\Drupal\test_page_test\Controller\Test::error'
  51. code: 200
  52. requirements:
  53. _access: 'TRUE'
  54. test_page_test.null_header:
  55. path: '/test-null-header'
  56. defaults:
  57. _controller: '\Drupal\test_page_test\Controller\Test::setHeader'
  58. name: Null-Header
  59. requirements:
  60. _access: 'TRUE'
  61. test_page_test.encoded:
  62. path: '/test-encoded'
  63. defaults:
  64. _title: 'Page with encoded HTML'
  65. _controller: '\Drupal\test_page_test\Controller\Test::renderEncodedMarkup'
  66. requirements:
  67. _access: 'TRUE'
  68. test_page_test.pipe:
  69. path: '/test-pipe-char'
  70. defaults:
  71. _title: 'Page with pipe char in link'
  72. _controller: '\Drupal\test_page_test\Controller\Test::renderPipeInLink'
  73. requirements:
  74. _access: 'TRUE'
  75. test_page_test.field_xpath:
  76. path: '/test-field-xpath'
  77. defaults:
  78. _title: 'Table and form elements for field xpath assertion testing'
  79. _form: '\Drupal\test_page_test\Form\TestForm'
  80. requirements:
  81. _access: 'TRUE'
  82. test_page_test.escaped_characters:
  83. path: '/test-escaped-characters'
  84. defaults:
  85. _controller: '\Drupal\test_page_test\Controller\Test::escapedCharacters'
  86. code: 200
  87. requirements:
  88. _access: 'TRUE'
  89. test_page_test.escaped_script:
  90. path: '/test-escaped-script'
  91. defaults:
  92. _controller: '\Drupal\test_page_test\Controller\Test::escapedScript'
  93. code: 200
  94. requirements:
  95. _access: 'TRUE'
  96. test_page_test.unescaped_script:
  97. path: '/test-unescaped-script'
  98. defaults:
  99. _controller: '\Drupal\test_page_test\Controller\Test::unescapedScript'
  100. code: 200
  101. requirements:
  102. _access: 'TRUE'
  103. test_page_test.meta_refresh:
  104. path: '/test-meta-refresh'
  105. defaults:
  106. _title: 'Page with a redirect'
  107. _controller: '\Drupal\test_page_test\Controller\Test::metaRefresh'
  108. requirements:
  109. _access: 'TRUE'
  110. test_page_test.page_with_duplicate_ids:
  111. path: '/test-page-with-duplicate-ids'
  112. defaults:
  113. _controller: '\Drupal\test_page_test\Controller\Test::renderPageWithDuplicateIds'
  114. requirements:
  115. _access: 'TRUE'
  116. test_page_test.page_without_duplicate_ids:
  117. path: '/test-page-without-duplicate-ids'
  118. defaults:
  119. _controller: '\Drupal\test_page_test\Controller\Test::renderPageWithoutDuplicateIds'
  120. requirements:
  121. _access: 'TRUE'
  122. test_page_test.deprecations:
  123. path: '/test-deprecations'
  124. defaults:
  125. _title: 'Page with deprecation notices'
  126. _controller: '\Drupal\test_page_test\Controller\Test::deprecations'
  127. requirements:
  128. _access: 'TRUE'
  129. test_page_test.test_page_var_dump:
  130. path: '/test-page-var-dump'
  131. defaults:
  132. _title: 'Test front page with var dump'
  133. _controller: '\Drupal\test_page_test\Controller\TestPageTestController::testPageVarDump'
  134. requirements:
  135. _access: 'TRUE'