entity_test.routing.yml 595 Bytes
Newer Older
1
entity_test.render:
2
  path: '/entity-test-render/{entity_test_render}'
3 4 5 6 7
  defaults:
    _entity_view: 'entity_test_render.full'
  requirements:
    _access: 'TRUE'

8
entity_test.render_options:
9
  path: '/entity-test-render-converter/{foo}'
10 11 12 13 14 15 16 17 18
  options:
    parameters:
      foo:
        type: 'entity:entity_test_render'
  defaults:
    _entity_view: 'entity_test_render.full'
  requirements:
    _access: 'TRUE'

19
entity_test.render_no_view_mode:
20
  path: '/entity-test-render-no-view-mode/{entity_test_render}'
21 22 23 24
  defaults:
    _entity_view: 'entity_test_render'
  requirements:
    _access: 'TRUE'