field_layout_test.routing.yml

Same filename in other branches
  1. 8.9.x core/modules/field_layout/tests/modules/field_layout_test/field_layout_test.routing.yml
  2. 10 core/modules/field_layout/tests/modules/field_layout_test/field_layout_test.routing.yml
  3. 11.x core/modules/field_layout/tests/modules/field_layout_test/field_layout_test.routing.yml
core/modules/field_layout/tests/modules/field_layout_test/field_layout_test.routing.yml

File

core/modules/field_layout/tests/modules/field_layout_test/field_layout_test.routing.yml

View source
  1. entity.entity_test.test_view_mode:
  2. path: '/entity_test/{entity_test}/test'
  3. defaults:
  4. _entity_view: 'entity_test.test'
  5. _title: 'Test test view mode'
  6. requirements:
  7. _entity_access: 'entity_test.view'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.