tour_test.routing.yml

Same filename and directory in other branches
  1. 8.9.x core/modules/tour/tests/tour_test/tour_test.routing.yml
  2. 10 core/modules/tour/tests/tour_test/tour_test.routing.yml
  3. 11.x core/modules/tour/tests/tour_test/tour_test.routing.yml
core/modules/tour/tests/tour_test/tour_test.routing.yml
2 string references to YAML keys in tour_test.routing.yml
TourCacheTagsTest::testRenderedTour in core/modules/tour/tests/src/Functional/TourCacheTagsTest.php
Tests cache tags presence and invalidation of the Tour entity.
TourTest::testTourFunctionality in core/modules/tour/tests/src/Functional/TourTest.php
Tests tour functionality.

File

core/modules/tour/tests/tour_test/tour_test.routing.yml

View source
  1. tour_test.1:
  2. path: '/tour-test-1'
  3. defaults:
  4. _controller: '\Drupal\tour_test\Controller\TourTestController::tourTest1'
  5. options:
  6. _admin_route: TRUE
  7. requirements:
  8. _access: 'TRUE'
  9. tour_test.1_action:
  10. path: '/tour-test-1/action'
  11. defaults:
  12. _controller: '\Drupal\tour_test\Controller\TourTestController::tourTest1'
  13. requirements:
  14. _access: 'TRUE'
  15. tour_test.2:
  16. path: '/tour-test-2/subpath'
  17. defaults:
  18. _controller: '\Drupal\tour_test\Controller\TourTestController::tourTest2'
  19. requirements:
  20. _access: 'TRUE'
  21. tour_test.3:
  22. path: '/tour-test-3/{locale}'
  23. defaults:
  24. locale: 'foo'
  25. _controller: '\Drupal\tour_test\Controller\TourTestController::tourTest1'
  26. requirements:
  27. _access: 'TRUE'

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