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'
