You are here

avatars.routing.yml in Avatar Kit 8

Same filename and directory in other branches
  1. 8.2 avatars.routing.yml

File

avatars.routing.yml
View source
  1. avatars.config:
  2. path: '/admin/config/people/avatars'
  3. defaults:
  4. _form: '\Drupal\avatars\Form\Settings'
  5. _title: 'Avatar Kit settings'
  6. requirements:
  7. _permission: 'administer avatars'
  8. # Avatar generator plugin instances
  9. entity.avatar_generator.add:
  10. path: '/admin/config/people/avatars/generators/add'
  11. defaults:
  12. _entity_form: 'avatar_generator.add'
  13. _title: 'Add avatar generator'
  14. requirements:
  15. _permission: 'administer avatars'
  16. entity.avatar_generator.edit_form:
  17. path: '/admin/config/people/avatars/generators/{avatar_generator}'
  18. defaults:
  19. _entity_form: 'avatar_generator.default'
  20. _title: 'Edit avatar generator'
  21. requirements:
  22. _permission: 'administer avatars'
  23. entity.avatar_generator.delete_form:
  24. path: '/admin/config/people/avatars/generators/{avatar_generator}/delete'
  25. defaults:
  26. _entity_form: 'avatar_generator.delete'
  27. _title: 'Delete avatar generator'
  28. requirements:
  29. _permission: 'administer avatars'