You are here

shorten_cs.routing.yml in Shorten URLs 8

Same filename and directory in other branches
  1. 8.2 modules/shorten_cs/shorten_cs.routing.yml
modules/shorten_cs/shorten_cs.routing.yml

File

modules/shorten_cs/shorten_cs.routing.yml
View source
  1. shorten_cs.theme_shorten_cs_admin:
  2. path: /admin/config/services/shorten/custom
  3. defaults:
  4. _title: 'Custom services'
  5. _form: '\Drupal\shorten_cs\Form\CustomServicesAddForm'
  6. requirements:
  7. _permission: 'administer Shorten URLs custom services'
  8. shorten_cs.edit_form:
  9. path: '/admin/config/services/shorten/custom/edit/{service}'
  10. defaults:
  11. _title: 'Edit custom service'
  12. _form: '\Drupal\shorten_cs\Form\CustomServicesEditForm'
  13. requirements:
  14. _permission: 'administer Shorten URLs custom services'
  15. shorten_cs.delete_form:
  16. path: '/admin/config/services/shorten/custom/delete/{service}'
  17. defaults:
  18. _title: 'Custom services'
  19. _form: '\Drupal\shorten_cs\Form\CustomServicesDeleteForm'
  20. requirements:
  21. _permission: 'administer Shorten URLs custom services'