You are here

tabledrag_example.routing.yml in Examples for Developers 3.x

modules/tabledrag_example/tabledrag_example.routing.yml

File

modules/tabledrag_example/tabledrag_example.routing.yml
View source
  1. tabledrag_example.description:
  2. path: '/examples/tabledrag-example'
  3. defaults:
  4. _controller: '\Drupal\tabledrag_example\Controller\TableDragExampleController::description'
  5. _title: 'Tabledrag overview'
  6. requirements:
  7. _permission: 'access content'
  8. tabledrag_example.simple_form:
  9. path: '/examples/tabledrag-example/row'
  10. defaults:
  11. _form: '\Drupal\tabledrag_example\Form\TableDragExampleSimpleForm'
  12. _title: 'Simple rows tabledrag'
  13. requirements:
  14. _permission: 'access content'
  15. tabledrag_example.parent_form:
  16. path: '/examples/tabledrag-example/nested'
  17. defaults:
  18. _form: '\Drupal\tabledrag_example\Form\TableDragExampleNestedForm'
  19. _title: 'Nested tabledrag'
  20. requirements:
  21. _permission: 'access content'
  22. tabledrag_example.rootleaf_form:
  23. path: '/examples/tabledrag-example/roots-and-leaves'
  24. defaults:
  25. _form: '\Drupal\tabledrag_example\Form\TableDragExampleRootLeafForm'
  26. _title: 'Roots and leaves tabledrag'
  27. requirements:
  28. _permission: 'access content'
  29. tabledrag_example.reset_form:
  30. path: '/examples/tabledrag-example/reset'
  31. defaults:
  32. _form: '\Drupal\tabledrag_example\Form\TableDragExampleResetForm'
  33. _title: 'Tabledrag data reset'
  34. requirements:
  35. _permission: 'access content'