off_canvas_test.routing.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/off_canvas_test/off_canvas_test.routing.yml
  2. 8.9.x core/modules/system/tests/modules/off_canvas_test/off_canvas_test.routing.yml
  3. 10 core/modules/system/tests/modules/off_canvas_test/off_canvas_test.routing.yml
core/modules/system/tests/modules/off_canvas_test/off_canvas_test.routing.yml
2 string references to YAML keys in off_canvas_test.routing.yml
TestController::linksDisplay in core/modules/system/tests/modules/off_canvas_test/src/Controller/TestController.php
Displays test links that will open in off-canvas dialog.
TestController::otherDialogLinks in core/modules/system/tests/modules/off_canvas_test/src/Controller/TestController.php
Displays dialogs links to be displayed inside the off-canvas dialog.

File

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

View source
  1. off_canvas_test.links:
  2. path: '/off-canvas-test-links'
  3. defaults:
  4. _controller: '\Drupal\off_canvas_test\Controller\TestController::linksDisplay'
  5. _title: 'Links'
  6. requirements:
  7. _access: 'TRUE'
  8. off_canvas_test.thing1:
  9. path: '/off-canvas-thing1'
  10. defaults:
  11. _controller: '\Drupal\off_canvas_test\Controller\TestController::thing1'
  12. _title: 'Thing 1'
  13. requirements:
  14. _access: 'TRUE'
  15. off_canvas_test.thing2:
  16. path: '/off-canvas-thing2'
  17. defaults:
  18. _controller: '\Drupal\off_canvas_test\Controller\TestController::thing2'
  19. requirements:
  20. _access: 'TRUE'
  21. off_canvas_test.dialog_links:
  22. path: '/off-canvas-dialog-links'
  23. defaults:
  24. _controller: '\Drupal\off_canvas_test\Controller\TestController::otherDialogLinks'
  25. requirements:
  26. _access: 'TRUE'

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