You are here

paragraphs_ee.routing.yml in Paragraphs Editor Enhancements 8

File

paragraphs_ee.routing.yml
View source
  1. entity.paragraphs_category.collection:
  2. path: '/admin/structure/paragraphs_category'
  3. defaults:
  4. _entity_list: 'paragraphs_category'
  5. _title: 'Paragraphs categories'
  6. requirements:
  7. _permission: 'administer paragraphs categories'
  8. entity.paragraphs_category.add_form:
  9. path: '/admin/structure/paragraphs_category/add'
  10. defaults:
  11. _entity_form: 'paragraphs_category.add'
  12. _title: 'Add paragraphs category'
  13. requirements:
  14. _permission: 'administer paragraphs categories'
  15. entity.paragraphs_category.edit_form:
  16. path: '/admin/structure/paragraphs_category/{paragraphs_category}'
  17. defaults:
  18. _entity_form: 'paragraphs_category.edit'
  19. _title: 'Edit paragraphs category'
  20. requirements:
  21. _permission: 'administer paragraphs categories'
  22. entity.paragraphs_category.delete_form:
  23. path: '/admin/structure/paragraphs_category/{paragraphs_category}/delete'
  24. defaults:
  25. _entity_form: 'paragraphs_category.delete'
  26. _title: 'Delete paragraphs category'
  27. requirements:
  28. _permission: 'administer paragraphs categories'
  29. paragraphs_ee.paragraphs_browser:
  30. path: '/paragraphs_ee/browser/{entity_type}/{bundle}/{form_mode}/{field_name}'
  31. defaults:
  32. _controller: '\Drupal\paragraphs_ee\Controller\ParagraphsOffCanvasBrowser::content'
  33. _title_callback: '\Drupal\paragraphs_ee\Controller\ParagraphsOffCanvasBrowser::getTitle'
  34. entity_type: null
  35. bundle: null
  36. form_mode: null
  37. field_name: null
  38. requirements:
  39. # _csrf_token: 'TRUE'
  40. _permission: 'access content'