linkit.routing.yml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. entity.linkit_profile.collection:
  2. path: '/admin/config/content/linkit'
  3. defaults:
  4. _entity_list: 'linkit_profile'
  5. _title: 'Linkit profiles'
  6. requirements:
  7. _permission: 'administer linkit profiles'
  8. entity.linkit_profile.add_form:
  9. path: '/admin/config/content/linkit/add'
  10. defaults:
  11. _entity_form: linkit_profile.add
  12. _title: 'Add profile'
  13. requirements:
  14. _permission: 'administer linkit profiles'
  15. entity.linkit_profile.edit_form:
  16. path: '/admin/config/content/linkit/manage/{linkit_profile}'
  17. defaults:
  18. _entity_form: linkit_profile.edit
  19. _title_callback: 'Drupal\linkit\Controller\LinkitController::profileTitle'
  20. requirements:
  21. _permission: 'administer linkit profiles'
  22. entity.linkit_profile.delete_form:
  23. path: '/admin/config/content/linkit/manage/{linkit_profile}/delete'
  24. defaults:
  25. _entity_form: linkit_profile.delete
  26. requirements:
  27. _permission: 'administer linkit profiles'
  28. linkit.matchers:
  29. path: '/admin/config/content/linkit/manage/{linkit_profile}/matchers'
  30. defaults:
  31. _form: '\Drupal\linkit\Form\Matcher\OverviewForm'
  32. _title: 'Manage matchers'
  33. requirements:
  34. _permission: 'administer linkit profiles'
  35. linkit.matcher.add:
  36. path: '/admin/config/content/linkit/manage/{linkit_profile}/matchers/add'
  37. defaults:
  38. _form: '\Drupal\linkit\Form\Matcher\AddForm'
  39. _title: 'Add matcher'
  40. requirements:
  41. _permission: 'administer linkit profiles'
  42. linkit.matcher.delete:
  43. path: '/admin/config/content/linkit/manage/{linkit_profile}/matchers/{plugin_instance_id}/delete'
  44. defaults:
  45. _form: '\Drupal\linkit\Form\Matcher\DeleteForm'
  46. requirements:
  47. _permission: 'administer linkit profiles'
  48. linkit.matcher.edit:
  49. path: '/admin/config/content/linkit/manage/{linkit_profile}/matchers/{plugin_instance_id}'
  50. defaults:
  51. _form: '\Drupal\linkit\Form\Matcher\EditForm'
  52. _title_callback: 'Drupal\linkit\Controller\LinkitController::matcherTitle'
  53. requirements:
  54. _permission: 'administer linkit profiles'
  55. linkit.autocomplete:
  56. path: '/linkit/autocomplete/{linkit_profile_id}'
  57. defaults:
  58. _controller: '\Drupal\linkit\Controller\AutocompleteController::autocomplete'
  59. requirements:
  60. # Access is handled by the matchers.
  61. _access: 'TRUE'
  62. options:
  63. _theme: ajax_base_page