You are here

environment_indicator.routing.yml in Environment Indicator 4.x

File

environment_indicator.routing.yml
View source
  1. entity.environment_indicator.collection:
  2. path: '/admin/config/development/environment-indicator/switcher'
  3. defaults:
  4. _entity_list: 'environment_indicator'
  5. _title: 'Environment Indicator Switcher'
  6. requirements:
  7. _permission: 'administer environment indicator settings'
  8. entity.environment_indicator.delete_form:
  9. path: '/admin/config/development/environment-indicator/manage/{environment_indicator}/delete'
  10. defaults:
  11. _entity_form: environment_indicator.delete
  12. requirements:
  13. _entity_access: 'environment_indicator.delete'
  14. entity.environment_indicator.edit_form:
  15. path: '/admin/config/development/environment-indicator/manage/{environment_indicator}'
  16. defaults:
  17. _entity_form: environment_indicator.default
  18. requirements:
  19. _entity_access: 'environment_indicator.update'
  20. entity.environment_indicator.add:
  21. path: '/admin/config/development/environment-indicator/switcher/add'
  22. defaults:
  23. _entity_form: environment_indicator.default
  24. requirements:
  25. _entity_create_access: 'environment_indicator'
  26. environment_indicator.settings:
  27. path: '/admin/config/development/environment-indicator'
  28. defaults:
  29. _form: '\Drupal\environment_indicator\Form\EnvironmentIndicatorSettingsForm'
  30. _title: 'Environment Indicator Settings'
  31. requirements:
  32. _permission: 'administer environment indicator settings'