You are here

environment.routing.yml in Environment 8

File

environment.routing.yml
View source
  1. environment.admin_settings:
  2. path: /admin/config/system/environment
  3. defaults:
  4. _title: Environment
  5. _form: \Drupal\environment\Form\EnvironmentAdminSettings
  6. requirements:
  7. _permission: 'administer site configuration'
  8. environment.switch_confirm:
  9. path: /admin/config/system/environment/switch/%environment
  10. defaults:
  11. _title: 'Environment Switch'
  12. _form: \Drupal\environment\Form\EnvironmentSwitchConfirm
  13. requirements:
  14. _permission: 'administer site configuration'
  15. # Environment routing definition
  16. entity.environment.collection:
  17. path: '/admin/structure/environment'
  18. defaults:
  19. _entity_list: 'environment'
  20. _title: 'Environment'
  21. requirements:
  22. _permission: 'administer site configuration'
  23. entity.environment.add_form:
  24. path: '/admin/structure/environment/add'
  25. defaults:
  26. _entity_form: 'environment.add'
  27. _title: 'Add Environment'
  28. requirements:
  29. _permission: 'administer site configuration'
  30. entity.environment.edit_form:
  31. path: '/admin/structure/environment/{environment}'
  32. defaults:
  33. _entity_form: 'environment.edit'
  34. _title: 'Edit Environment'
  35. requirements:
  36. _permission: 'administer site configuration'
  37. entity.environment.delete_form:
  38. path: '/admin/structure/environment/{environment}/delete'
  39. defaults:
  40. _entity_form: 'environment.delete'
  41. _title: 'Delete Environment'
  42. requirements:
  43. _permission: 'administer site configuration'