common_test.routing.yml

Same filename and directory in other branches
  1. 9 core/modules/system/tests/modules/common_test/common_test.routing.yml
  2. 8.9.x core/modules/system/tests/modules/common_test/common_test.routing.yml
  3. 11.x core/modules/system/tests/modules/common_test/common_test.routing.yml
core/modules/system/tests/modules/common_test/common_test.routing.yml
2 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 using doBuildForm().
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.yml

View source
  1. common_test.l_active_class:
  2. path: '/common-test/type-link-active-class'
  3. defaults:
  4. _title: 'Test active link class'
  5. _controller: '\Drupal\common_test\Controller\CommonTestController::typeLinkActiveClass'
  6. requirements:
  7. _access: 'TRUE'
  8. common_test.destination:
  9. path: '/common-test/destination'
  10. defaults:
  11. _controller: '\Drupal\common_test\Controller\CommonTestController::destination'
  12. requirements:
  13. _access: 'TRUE'
  14. common_test.js_and_css_querystring:
  15. path: '/common-test/query-string'
  16. defaults:
  17. _title: 'Test querystring'
  18. _controller: '\Drupal\common_test\Controller\CommonTestController::jsAndCssQuerystring'
  19. requirements:
  20. _access: 'TRUE'
  21. common_test.page_attachments:
  22. path: '/common/attachments-test'
  23. defaults:
  24. _title: 'Attachments test'
  25. _controller: '\Drupal\common_test\Controller\CommonTestController::attachments'
  26. requirements:
  27. _access: 'TRUE'

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