ajax_test.routing.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml
  2. 10 core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml
  3. 11.x core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml
core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml
4 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::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().
AjaxTestDialogForm::submitForm in core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php
Form submission handler.

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'

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