You are here

activity.routing.yml in Activity 8

File

activity.routing.yml
View source
  1. activity.list:
  2. path: '/admin/activity'
  3. defaults:
  4. _form: '\Drupal\activity\Form\ActivityListForm'
  5. _title: 'Activity Templates'
  6. requirements:
  7. _permission: 'activity.administer_activities'
  8. activity.create:
  9. path: '/admin/activity/create'
  10. defaults:
  11. _form: '\Drupal\activity\Form\CreateActivityForm'
  12. _title: 'Activity Templates'
  13. requirements:
  14. _permission: 'activity.administer_activities'
  15. activity.configure:
  16. path: '/admin/activity/configure/{eventId}'
  17. defaults:
  18. _form: '\Drupal\activity\Form\ConfigureActivityForm'
  19. _title: 'Edit'
  20. requirements:
  21. _permission: 'activity.administer_activities'
  22. activity.delete:
  23. path: '/admin/activity/delete/{eventId}'
  24. defaults:
  25. _form: '\Drupal\activity\Form\DeleteActivityForm'
  26. _title: 'Delete'
  27. requirements:
  28. _permission: 'activity.administer_activities'
  29. activity.delete_action:
  30. path: '/admin/activity/action/delete/{label}'
  31. defaults:
  32. _form: '\Drupal\activity\Form\DeleteActionForm'
  33. _title: 'Delete'
  34. requirements:
  35. _permission: 'activity.administer_activities'