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

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

19
entity_test.render_no_view_mode:
20
  path: '/entity_test_no_view_mode/{entity_test}'
21
  defaults:
22
    _entity_view: 'entity_test'
23 24
  requirements:
    _access: 'TRUE'
25 26 27

route_callbacks:
  - '\Drupal\entity_test\Routing\EntityTestRoutes::routes'