You are here

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

modules/dbtng_example/dbtng_example.routing.yml

File

modules/dbtng_example/dbtng_example.routing.yml
View source
  1. dbtng_example.generate_entry_list:
  2. path: '/examples/dbtng-example'
  3. defaults:
  4. _title: 'DBTNG Example'
  5. _controller: '\Drupal\dbtng_example\Controller\DbtngExampleController::entryList'
  6. requirements:
  7. _permission: 'access content'
  8. dbtng_example.list:
  9. path: '/examples/dbtng-example/list'
  10. defaults:
  11. _title: 'List'
  12. _controller: '\Drupal\dbtng_example\Controller\DbtngExampleController::entryList'
  13. requirements:
  14. _permission: 'access content'
  15. dbtng_example.add:
  16. path: '/examples/dbtng-example/add'
  17. defaults:
  18. _title: 'Add entry'
  19. _form: '\Drupal\dbtng_example\Form\DbtngExampleAddForm'
  20. requirements:
  21. _permission: 'access content'
  22. dbtng_example.update:
  23. path: '/examples/dbtng-example/update'
  24. defaults:
  25. _title: 'Update entry'
  26. _form: '\Drupal\dbtng_example\Form\DbtngExampleUpdateForm'
  27. requirements:
  28. _permission: 'access content'
  29. dbtng_example.advanced:
  30. path: '/examples/dbtng-example/advanced'
  31. defaults:
  32. _title: 'Advanced list'
  33. _controller: '\Drupal\dbtng_example\Controller\DbtngExampleController::entryAdvancedList'
  34. requirements:
  35. _permission: 'access content'