summaryrefslogtreecommitdiffstats
path: root/core/modules/system/tests/modules/token_test/token_test.routing.yml
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/tests/modules/token_test/token_test.routing.yml')
-rw-r--r--core/modules/system/tests/modules/token_test/token_test.routing.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/modules/system/tests/modules/token_test/token_test.routing.yml b/core/modules/system/tests/modules/token_test/token_test.routing.yml
new file mode 100644
index 0000000..5fc239a
--- /dev/null
+++ b/core/modules/system/tests/modules/token_test/token_test.routing.yml
@@ -0,0 +1,12 @@
+token_test.test:
+ path: token-test/{node}
+ defaults:
+ _controller: Drupal\token_test\Controller\TestController::tokenReplace
+ requirements:
+ _access: 'TRUE'
+token_test.test_without_bubbleable_metadata:
+ path: token-test-without-bubleable-metadata/{node}
+ defaults:
+ _controller: Drupal\token_test\Controller\TestController::tokenReplaceWithoutPassedBubbleableMetadata
+ requirements:
+ _access: 'TRUE'