off_canvas_test.routing.yml in Drupal 9
Same filename and directory in other branches
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.ymlView source
- off_canvas_test.links:
- path: '/off-canvas-test-links'
- defaults:
- _controller: '\Drupal\off_canvas_test\Controller\TestController::linksDisplay'
- _title: 'Links'
- requirements:
- _access: 'TRUE'
-
- off_canvas_test.thing1:
- path: '/off-canvas-thing1'
- defaults:
- _controller: '\Drupal\off_canvas_test\Controller\TestController::thing1'
- _title: 'Thing 1'
- requirements:
- _access: 'TRUE'
-
- off_canvas_test.thing2:
- path: '/off-canvas-thing2'
- defaults:
- _controller: '\Drupal\off_canvas_test\Controller\TestController::thing2'
- requirements:
- _access: 'TRUE'
-
- off_canvas_test.dialog_links:
- path: '/off-canvas-dialog-links'
- defaults:
- _controller: '\Drupal\off_canvas_test\Controller\TestController::otherDialogLinks'
- requirements:
- _access: 'TRUE'