You are here

mailchimp_signup.routing.yml in Mailchimp 8

Same filename and directory in other branches
  1. 2.x modules/mailchimp_signup/mailchimp_signup.routing.yml
modules/mailchimp_signup/mailchimp_signup.routing.yml

File

modules/mailchimp_signup/mailchimp_signup.routing.yml
View source
  1. mailchimp_signup.admin:
  2. path: '/admin/config/services/mailchimp/signup'
  3. defaults:
  4. _entity_list: 'mailchimp_signup'
  5. _title: 'Signup Forms'
  6. requirements:
  7. _permission: 'administer mailchimp signup entities'
  8. _mailchimp_configuration_access_check: 'TRUE'
  9. mailchimp_signup.add:
  10. path: '/admin/config/services/mailchimp/signup/add'
  11. defaults:
  12. _entity_form: 'mailchimp_signup.add'
  13. _title: 'Add Signup Form'
  14. requirements:
  15. _permission: 'administer mailchimp signup entities'
  16. entity.mailchimp_signup.edit_form:
  17. path: '/admin/config/services/mailchimp/signup/{mailchimp_signup}'
  18. defaults:
  19. _entity_form: 'mailchimp_signup.edit'
  20. _title: 'Edit Signup Form'
  21. requirements:
  22. _permission: 'administer mailchimp signup entities'
  23. entity.mailchimp_signup.delete_form:
  24. path: '/admin/config/services/mailchimp/signup/{mailchimp_signup}/delete'
  25. defaults:
  26. _entity_form: 'mailchimp_signup.delete'
  27. _title: 'Delete Signup Form'
  28. requirements:
  29. _permission: 'administer mailchimp signup entities'
  30. route_callbacks:
  31. - '\Drupal\mailchimp_signup\Routing\MailchimpSignupRoutes::routes'