token_test.routing.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/token_test/token_test.routing.yml
  2. 10 core/modules/system/tests/modules/token_test/token_test.routing.yml
  3. 11.x core/modules/system/tests/modules/token_test/token_test.routing.yml
core/modules/system/tests/modules/token_test/token_test.routing.yml

File

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

View source
  1. token_test.test:
  2. path: token-test/{node}
  3. defaults:
  4. _controller: Drupal\token_test\Controller\TestController::tokenReplace
  5. requirements:
  6. _access: 'TRUE'
  7. token_test.test_without_bubbleable_metadata:
  8. path: token-test-without-bubbleable-metadata/{node}
  9. defaults:
  10. _controller: Drupal\token_test\Controller\TestController::tokenReplaceWithoutPassedBubbleableMetadata
  11. requirements:
  12. _access: 'TRUE'

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