path_changed_helper_test.routing.yml
Same filename in other branches
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
- path.changed:
- path: '/new/path/{block_type}'
- defaults:
- _controller: '\Drupal\path_changed_helper_test\Controller\TestController::test'
- requirements:
- _access: 'TRUE'
- path.changed.bc:
- path: '/old/path/{block_type}'
- defaults:
- _controller: '\Drupal\path_changed_helper_test\Controller\TestController::test'
- requirements:
- _access: 'TRUE'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.