paramconverter_test.routing.yml
Same filename in other branches
File
-
core/
modules/ system/ tests/ modules/ paramconverter_test/ paramconverter_test.routing.yml
View source
- paramconverter_test.user_node_foo:
- path: '/paramconverter_test/test_user_node_foo/{user}/{node}/{foo}'
- defaults:
- _controller: '\Drupal\paramconverter_test\TestControllers::testUserNodeFoo'
- requirements:
- _access: 'TRUE'
-
- paramconverter_test.node_user_user:
- path: '/paramconverter_test/test_node_user_user/{node}/{foo}/{user}'
- defaults:
- _controller: '\Drupal\paramconverter_test\TestControllers::testUserNodeFoo'
- requirements:
- _access: 'TRUE'
- options:
- parameters:
- foo:
- type: 'entity:user'
-
- paramconverter_test.node_node_foo:
- path: '/paramconverter_test/test_node_node_foo/{user}/{node}/{foo}'
- defaults:
- _controller: '\Drupal\paramconverter_test\TestControllers::testUserNodeFoo'
- requirements:
- _access: 'TRUE'
- options:
- parameters:
- user:
- type: 'entity:node'
-
- paramconverter_test.node_set_parent:
- path: '/paramconverter_test/node/{node}/set/parent/{parent}'
- requirements:
- _access: 'TRUE'
- defaults:
- _controller: '\Drupal\paramconverter_test\TestControllers::testNodeSetParent'
- options:
- parameters:
- parent:
- type: 'entity:node'
-
- paramconverter_test.node_check_language:
- path: '/paramconverter_test/node/{node}/test_language'
- requirements:
- _access: 'TRUE'
- defaults:
- _controller: '\Drupal\paramconverter_test\TestControllers::testEntityLanguage'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.