path_changed_helper_test.routing.yml

Same filename in other branches
  1. 10 core/modules/system/tests/modules/path_changed_helper_test/path_changed_helper_test.routing.yml
core/modules/system/tests/modules/path_changed_helper_test/path_changed_helper_test.routing.yml
1 string reference to YAML keys in path_changed_helper_test.routing.yml
PathChangedHelperTest::testPathChangedHelper in core/tests/Drupal/KernelTests/Core/Routing/PathChangedHelperTest.php
Tests creating a PathChangedHelper object and getting paths.

File

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

View source
  1. path.changed:
  2. path: '/new/path/{block_type}'
  3. defaults:
  4. _controller: '\Drupal\path_changed_helper_test\Controller\TestController::test'
  5. requirements:
  6. _access: 'TRUE'
  7. path.changed.bc:
  8. path: '/old/path/{block_type}'
  9. defaults:
  10. _controller: '\Drupal\path_changed_helper_test\Controller\TestController::test'
  11. requirements:
  12. _access: 'TRUE'

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