field_layout_test.routing.yml

Same filename in other branches
  1. 9 core/modules/field_layout/tests/modules/field_layout_test/field_layout_test.routing.yml
  2. 8.9.x 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'
  8. field_layout_test.embedded_form:
  9. path: '/field-layout-embedded-form'
  10. defaults:
  11. _form: 'Drupal\field_layout_test\Form\EmbeddedForm'
  12. _title: 'Embedded entity form'
  13. requirements:
  14. _permission: 'access administration pages'

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