config_test.routing.yml

Same filename in other branches
  1. 9 core/modules/config/tests/config_test/config_test.routing.yml
  2. 10 core/modules/config/tests/config_test/config_test.routing.yml
  3. 11.x core/modules/config/tests/config_test/config_test.routing.yml
core/modules/config/tests/config_test/config_test.routing.yml

File

core/modules/config/tests/config_test/config_test.routing.yml

View source
  1. entity.config_test.collection:
  2. path: '/admin/structure/config_test'
  3. defaults:
  4. _entity_list: 'config_test'
  5. _title: 'Test configuration'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. config_test.entity_add:
  9. path: '/admin/structure/config_test/add'
  10. defaults:
  11. _entity_form: 'config_test'
  12. requirements:
  13. _permission: 'administer site configuration'
  14. entity.config_test.edit_form:
  15. path: '/admin/structure/config_test/manage/{config_test}'
  16. defaults:
  17. _entity_form: config_test
  18. _title_callback: '\Drupal\config_test\ConfigTestController::editTitle'
  19. requirements:
  20. _permission: 'administer site configuration'
  21. entity.config_test_no_status.edit_form:
  22. path: '/admin/structure/config_test/manage/{config_test_no_status}'
  23. defaults:
  24. _entity_form: config_test_no_status
  25. _title_callback: '\Drupal\config_test\ConfigTestController::editTitle'
  26. requirements:
  27. _permission: 'administer site configuration'
  28. entity.config_test.enable:
  29. path: '/admin/structure/config_test/manage/{config_test}/enable'
  30. defaults:
  31. _controller: '\Drupal\config_test\ConfigTestController::enable'
  32. entity_type: 'config_test'
  33. requirements:
  34. _permission: 'administer site configuration'
  35. entity.config_test.disable:
  36. path: '/admin/structure/config_test/manage/{config_test}/disable'
  37. defaults:
  38. _controller: '\Drupal\config_test\ConfigTestController::disable'
  39. entity_type: 'config_test'
  40. requirements:
  41. _permission: 'administer site configuration'
  42. entity.config_test.delete_form:
  43. path: '/admin/structure/config_test/manage/{config_test}/delete'
  44. defaults:
  45. _entity_form: 'config_test.delete'
  46. requirements:
  47. _permission: 'administer site configuration'
  48. entity.config_test.delete_form_config_test_no_status:
  49. path: '/admin/structure/config_test/manage/{config_test_no_status}/delete'
  50. defaults:
  51. _entity_form: 'config_test_no_status.delete'
  52. requirements:
  53. _permission: 'administer site configuration'
  54. config_test.schema_listener:
  55. path: '/config_test/schema_listener'
  56. defaults:
  57. _controller: '\Drupal\config_test\SchemaListenerController::test'
  58. requirements:
  59. _permission: 'administer site configuration'

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