common_test.routing.yml in Drupal 10
Same filename and directory in other branches
core/modules/system/tests/modules/common_test/common_test.routing.yml
3 string references to YAML keys in common_test.routing.yml
- FormElementsRenderTest::testDrupalRenderFormElements in core/
modules/ system/ tests/ src/ Kernel/ Common/ FormElementsRenderTest.php - Tests rendering form elements without passing through \Drupal::formBuilder()->doBuildForm().
- UrlTest::testActiveLinkAttributes in core/
modules/ system/ tests/ src/ Functional/ Common/ UrlTest.php - Tests the active class in links.
- UrlTest::testLinkAttributes in core/
modules/ system/ tests/ src/ Kernel/ Common/ UrlTest.php - Tests that default and custom attributes are handled correctly on links.
File
core/modules/system/tests/modules/common_test/common_test.routing.ymlView source
- common_test.l_active_class:
- path: '/common-test/type-link-active-class'
- defaults:
- _title: 'Test active link class'
- _controller: '\Drupal\common_test\Controller\CommonTestController::typeLinkActiveClass'
- requirements:
- _access: 'TRUE'
-
- common_test.destination:
- path: '/common-test/destination'
- defaults:
- _controller: '\Drupal\common_test\Controller\CommonTestController::destination'
- requirements:
- _access: 'TRUE'
-
- common_test.js_and_css_querystring:
- path: '/common-test/query-string'
- defaults:
- _title: 'Test querystring'
- _controller: '\Drupal\common_test\Controller\CommonTestController::jsAndCssQuerystring'
- requirements:
- _access: 'TRUE'