ajax_test.routing.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml
  2. 8.9.x core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml
  3. 10 core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml
core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml
8 string references to YAML keys in ajax_test.routing.yml
AjaxTestController::dialog in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Returns a render array of form elements and links for dialog.
AjaxTestController::exceptionLink in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Provides an Ajax link for the exception.
AjaxTestController::httpMethods in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Provides an Ajax link used with different HTTP methods.
AjaxTestController::insertLinksBlockWrapper in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Returns a render array of links that directly Drupal.ajax().
AjaxTestController::insertLinksInlineWrapper in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Returns a render array of links that directly Drupal.ajax().

... See full list

File

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

View source
  1. ajax_test.dialog_contents:
  2. path: '/ajax-test/dialog-contents'
  3. defaults:
  4. _title: 'AJAX Dialog contents routing'
  5. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::dialogContents'
  6. requirements:
  7. _access: 'TRUE'
  8. ajax_test.ajax_render_types:
  9. path: '/ajax-test/dialog-contents-types/{type}'
  10. defaults:
  11. _title: 'AJAX Dialog contents routing'
  12. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::renderTypes'
  13. requirements:
  14. _access: 'TRUE'
  15. ajax_test.dialog_form:
  16. path: '/ajax-test/dialog-form'
  17. defaults:
  18. _title: 'Ajax Form contents'
  19. _form: '\Drupal\ajax_test\Form\AjaxTestForm'
  20. requirements:
  21. _access: 'TRUE'
  22. ajax_test.dialog:
  23. path: '/ajax-test/dialog'
  24. defaults:
  25. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::dialog'
  26. requirements:
  27. _access: 'TRUE'
  28. ajax_test.insert_links_block_wrapper:
  29. path: '/ajax-test/insert-block-wrapper'
  30. defaults:
  31. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::insertLinksBlockWrapper'
  32. requirements:
  33. _access: 'TRUE'
  34. ajax_test.insert_links_inline_wrapper:
  35. path: '/ajax-test/insert-inline-wrapper'
  36. defaults:
  37. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::insertLinksInlineWrapper'
  38. requirements:
  39. _access: 'TRUE'
  40. ajax_test.dialog_close:
  41. path: '/ajax-test/dialog-close'
  42. defaults:
  43. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::dialogClose'
  44. requirements:
  45. _access: 'TRUE'
  46. ajax_test.render:
  47. path: '/ajax-test/render'
  48. defaults:
  49. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::render'
  50. requirements:
  51. _access: 'TRUE'
  52. ajax_test.admin.theme:
  53. path: '/admin/ajax-test/theme'
  54. defaults:
  55. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::theme'
  56. requirements:
  57. _access: 'TRUE'
  58. ajax_test.order:
  59. path: '/ajax-test/order'
  60. defaults:
  61. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::order'
  62. requirements:
  63. _access: 'TRUE'
  64. ajax_test.render_error:
  65. path: '/ajax-test/render-error'
  66. defaults:
  67. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::renderError'
  68. requirements:
  69. _access: 'TRUE'
  70. ajax_test.message_form:
  71. path: '/ajax-test/message'
  72. defaults:
  73. _title: 'Ajax Message Form'
  74. _form: '\Drupal\ajax_test\Form\AjaxTestMessageCommandForm'
  75. requirements:
  76. _access: 'TRUE'
  77. ajax_test.focus_first_form:
  78. path: '/ajax-test/focus-first'
  79. defaults:
  80. _title: 'Ajax Focus First Form'
  81. _form: '\Drupal\ajax_test\Form\AjaxTestFocusFirstForm'
  82. requirements:
  83. _access: 'TRUE'
  84. ajax_test.promise:
  85. path: '/ajax-test/promise-form'
  86. defaults:
  87. _title: 'Ajax Form Command Promise'
  88. _form: '\Drupal\ajax_test\Form\AjaxTestFormPromise'
  89. requirements:
  90. _access: 'TRUE'
  91. ajax_test.global_events:
  92. path: '/ajax-test/global-events'
  93. defaults:
  94. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::globalEvents'
  95. requirements:
  96. _access: 'TRUE'
  97. ajax_test.global_events_clear_log:
  98. path: '/ajax-test/global-events/clear-log'
  99. defaults:
  100. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::globalEventsClearLog'
  101. requirements:
  102. _access: 'TRUE'
  103. ajax_test.exception_link:
  104. path: '/ajax-test/exception-link'
  105. defaults:
  106. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::exceptionLink'
  107. requirements:
  108. _access: 'TRUE'
  109. ajax_test.throw_exception:
  110. path: '/ajax-test/throw-exception'
  111. defaults:
  112. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::throwException'
  113. requirements:
  114. _access: 'TRUE'
  115. ajax_test.http_methods:
  116. path: '/ajax-test/http-methods'
  117. defaults:
  118. _controller: Drupal\ajax_test\Controller\AjaxTestController::httpMethods
  119. requirements:
  120. _access: 'TRUE'
  121. options:
  122. no_cache: TRUE
  123. ajax_test.http_methods.dialog:
  124. path: '/ajax-test/http-methods-dialog'
  125. defaults:
  126. _controller: Drupal\ajax_test\Controller\AjaxTestController::httpMethodsDialog
  127. requirements:
  128. _access: 'TRUE'
  129. ajax_test.link_page.dialog:
  130. path: '/ajax-test/link-page-dialog'
  131. defaults:
  132. _title: 'AJAX link page'
  133. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::linkPageDialog'
  134. requirements:
  135. _access: 'TRUE'
  136. ajax_test.link_page.dialog_contents:
  137. path: '/ajax-test/link-page-dialog-contents'
  138. defaults:
  139. _title_callback: '\Drupal\ajax_test\Controller\AjaxTestController::linkPageDialogTitle'
  140. _controller: '\Drupal\ajax_test\Controller\AjaxTestController::httpMethodsDialog'
  141. requirements:
  142. _access: 'TRUE'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.