You are here

contact_storage.routing.yml in Contact Storage 8

File

contact_storage.routing.yml
View source
  1. contact_storage.settings:
  2. path: '/admin/structure/contact/settings'
  3. defaults:
  4. _form: '\Drupal\contact_storage\Form\ContactStorageSettingsForm'
  5. _title: 'Contact settings'
  6. requirements:
  7. _permission: 'administer contact forms'
  8. entity.contact_form.disable:
  9. path: '/admin/structure/contact/manage/{contact_form}/disable'
  10. defaults:
  11. _entity_form: 'contact_form.disable'
  12. _title: 'Disable contact form'
  13. requirements:
  14. _entity_access: 'contact_form.disable'
  15. entity.contact_form.enable:
  16. path: '/admin/structure/contact/manage/{contact_form}/enable'
  17. defaults:
  18. _entity_form: 'contact_form.enable'
  19. _title: 'Enable contact form'
  20. requirements:
  21. _entity_access: 'contact_form.enable'
  22. entity.contact.multiple_delete_confirm:
  23. path: '/admin/structure/contact/messages/delete'
  24. defaults:
  25. _form: 'Drupal\Core\Entity\Form\DeleteMultipleForm'
  26. entity_type_id: 'contact_message'
  27. requirements:
  28. _permission: 'administer contact forms'