You are here

paragraphs.routing.yml in Paragraphs 8

File

paragraphs.routing.yml
View source
  1. # ParagraphsType routing definition
  2. entity.paragraphs_type.collection:
  3. path: '/admin/structure/paragraphs_type'
  4. defaults:
  5. _entity_list: 'paragraphs_type'
  6. _title: 'Paragraphs types'
  7. requirements:
  8. _permission: 'administer paragraphs types'
  9. paragraphs.type_add:
  10. path: '/admin/structure/paragraphs_type/add'
  11. defaults:
  12. _entity_form: 'paragraphs_type.add'
  13. _title: 'Add Paragraphs type'
  14. requirements:
  15. _permission: 'administer paragraphs types'
  16. entity.paragraphs_type.edit_form:
  17. path: '/admin/structure/paragraphs_type/{paragraphs_type}'
  18. defaults:
  19. _entity_form: 'paragraphs_type.edit'
  20. requirements:
  21. _permission: 'administer paragraphs types'
  22. entity.paragraphs_type.delete_form:
  23. path: '/admin/structure/paragraphs_type/{paragraphs_type}/delete'
  24. defaults:
  25. _entity_form: 'paragraphs_type.delete'
  26. _title: 'Delete'
  27. requirements:
  28. _permission: 'administer paragraphs types'
  29. paragraphs.settings:
  30. path: '/admin/config/content/paragraphs'
  31. defaults:
  32. _form: '\Drupal\paragraphs\Form\ParagraphsSettingsForm'
  33. _title: 'Paragraphs settings'
  34. requirements:
  35. _permission: 'administer paragraphs settings'