dialog_renderer_test.routing.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.routing.yml
  2. 8.9.x core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.routing.yml
  3. 11.x core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.routing.yml
core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.routing.yml
2 string references to YAML keys in dialog_renderer_test.routing.yml
TestController::collapsedOpener in core/modules/system/tests/modules/dialog_renderer_test/src/Controller/TestController.php
Displays a dropbutton with a link that opens in a modal dialog.
TestController::linksDisplay in core/modules/system/tests/modules/dialog_renderer_test/src/Controller/TestController.php
Displays test links that will open in the modal dialog.

File

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

View source
  1. dialog_renderer_test.links:
  2. path: '/dialog_renderer-test-links'
  3. defaults:
  4. _controller: '\Drupal\dialog_renderer_test\Controller\TestController::linksDisplay'
  5. _title: 'Links'
  6. requirements:
  7. _access: 'TRUE'
  8. dialog_renderer_test.modal_content:
  9. path: '/dialog_renderer-content'
  10. defaults:
  11. _controller: '\Drupal\dialog_renderer_test\Controller\TestController::modalContent'
  12. _title: 'Thing 1'
  13. requirements:
  14. _access: 'TRUE'
  15. dialog_renderer_test.modal_content_link:
  16. path: '/dialog_renderer-content-link'
  17. defaults:
  18. _controller: '\Drupal\dialog_renderer_test\Controller\TestController::modalContentLink'
  19. _title: 'Thing 2'
  20. requirements:
  21. _access: 'TRUE'
  22. dialog_renderer_test.modal_content_input:
  23. path: '/dialog_renderer-content-input'
  24. defaults:
  25. _controller: '\Drupal\dialog_renderer_test\Controller\TestController::modalContentInput'
  26. _title: 'Thing 3'
  27. requirements:
  28. _access: 'TRUE'
  29. dialog_renderer_test.collapsed_opener:
  30. path: '/dialog_renderer-collapsed-opener'
  31. defaults:
  32. _controller: '\Drupal\dialog_renderer_test\Controller\TestController::collapsedOpener'
  33. _title: 'Collapsed Openers'
  34. requirements:
  35. _access: 'TRUE'
  36. dialog_renderer_test.modal_form:
  37. path: '/dialog_renderer-form'
  38. defaults:
  39. _form: '\Drupal\dialog_renderer_test\Form\TestForm'
  40. _title: 'Modal Form'
  41. requirements:
  42. _access: 'TRUE'

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