You are here

pet.routing.yml in Previewable email templates 8

Same filename and directory in other branches
  1. 8.4 pet.routing.yml

File

pet.routing.yml
View source
  1. pet.settings:
  2. path: 'admin/config/system/pet/settings'
  3. defaults:
  4. _form: '\Drupal\pet\Form\PetSettingsForm'
  5. _title: 'Previewable Email Template Settings'
  6. requirements:
  7. _permission: 'administer PET entity'
  8. entity.pet.collection:
  9. path: '/admin/structure/pets'
  10. defaults:
  11. _entity_list: 'pet'
  12. _title: 'Previewable Email Templates'
  13. requirements:
  14. _permission: 'view PET entity'
  15. pet.preview:
  16. path: '/pet/{pet}'
  17. defaults:
  18. _form: '\Drupal\pet\Form\PetPreviewForm'
  19. _title: 'Previewable Email Template Preview'
  20. requirements:
  21. _permission: 'view PET entity'